History: Scheduler
Preview of version: 18
Scheduler
Scheduler for Tiki (cron jobs) An internal scheduler was added in Tiki17, so that only one cron job needs to be defined in the system crontab, and all actions to be run a scheduled times can then be defined within Tiki UI.
1.1. How to find it
In the quick admin module, and in the main application menu under "Settings" section ("https://example.org/tiki-admin_schedulers.php").
1.2. Overview
You can list scheduled tasks
You can edit one scheduled task
Syntax for the scheduled run time is similar to the syntax used in system crontabs in GNU/Linux and equivalent operating systems:
Use CRON format to enter the values in “Run Time”: Minute, Hour, Day of Month, Month, Day of Week Eg. every 5 minutes: */5 * * * *
See https://en.wikipedia.org/wiki/Cron for details on Cron formats. For example:
* * * * * | | | | | | | | | | | | | | +---- Day of the Week (range: 1-7, 1 = Monday) | | | +------ Month of the Year (range: 1-12) | | +-------- Day of the Month (range: 1-31) | +---------- Hour (range: 0-23) +------------ Minute (range: 0-59)
To set master cron job
Manually
The master cron job must be run quite frequently to check if Tiki Scheduler must launch another operation.
Here are some examples (adjust to your server path and use case)
* * * * * php /var/www/html/console.php scheduler:run
*/30 * * * * php /var/www/html/console.php scheduler:run
www-data
, apache
, nginx
etc Via Tiki Manager
- Manager See instance:setup-scheduler-cron
Related
- Cron
- Cron Job to Rebuild Search Index
- PluginListExecute
- Console
- Profile: Scheduler_presets_20
- Original feature request: cron job handing via Tiki