![]() This is a great task to schedule as otherwise it would require a user to manually clear the old caches. These include some useful maintenance type tasks:Ĭache-purge - This task is useful if you use Grav's file caching because it clears out old files that have expired. The Grav core provides a few jobs out-of-the-box. Simply set an entry to disabled to stop it from running. This is located in user/config/scheduler.yaml and is required to have any job enabled in order to run.īelow the configruation shows the jobs that are available and if they are enabled to run or not. The Grav scheduler is controlled by a primary configuration file. ![]() ! For error details run "bin/grav scheduler -d" ![]() │ pages-backup │ Grav\Common\Backup\Backups::backup │ * 3 * * * │ Success │ 09:55 │ Enabled │ │ default-site-backup │ Grav\Common\Backup\Backups::backup │ 0 3 * * * │ Ready │ Never │ Enabled │ │ cache-clear │ Grav\Common\Cache::clearJob │ * * * * * │ Success │ 11:23 │ Enabled │ │ cache-purge │ Grav\Common\Cache::purgeJob │ * * * * * │ Success │ 11:23 │ Enabled │ ![]() │ Job ID │ Command │ Run At │ Status │ Last Run │ State │ ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |