Scheduler | |
Scheduler for Tiki (cron jobs)
|
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
Use CRON format to enter the values in “Run Time”:
Copy to clipboard
|
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) To run every minute Copy to clipboard
To run every 30 minutes Copy to clipboard
Process Ownership NOTE: If the tasks set up in your scheduler create cache files (which they often will) then you need to run this cron job as your webserver user, e.g. www-data , apache , nginx etc
|
Via Tiki Manager | |
|
Samples | |
Rebuild the Unified-Index with logUsing the Tiki Scheduler and a Console command, once you have set your master Cron Job (see above) you can automatically rebuild your Unified Index to assure your Tiki freshness. In this sample we also generate logs so we can investigate in case there were an issue.
|
Send notification by e-mail | |
in the event of job execution failure, it is possible to send an email to the admin to inform them of the failure. the reasons for the failure will be visible in the logs. if the process subsequently succeeds, another email can be sent to keep them informed. To avoid the email being sent to all admins, you can specify the email addresses that will receive the notifications in the scheduler_users_to_notify_on_healed and scheduler_users_to_notify_on_stalled preferences.
|
Related | |
alias
|