Skip to content

Instantly share code, notes, and snippets.

@xiaohutai
Created January 30, 2018 13:44
Show Gist options
  • Save xiaohutai/f1944fe2e8441849e6d356ed359c76c7 to your computer and use it in GitHub Desktop.
Save xiaohutai/f1944fe2e8441849e6d356ed359c76c7 to your computer and use it in GitHub Desktop.
Bolt CMS Cron
* * * * * /var/www/app/nut cron --run=cron.Hourly
@xiaohutai
Copy link
Author

xiaohutai commented Jan 30, 2018

performance:
    timed_records:
        use_cron: true
        interval: 60

interval in this instance is seconds, not minutes

yes if you don't use the cron method then it will inherit the duration from the normal cache
with the non cron method you need 1) A web request to be made and 2) the cache to be expired, then it will publish

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment