I have set up a cron job ( */15 * * * * cd /var/www/...../web/tiki17x; php56 console.php scheduler:run
) to run the console command on the server which checks the schedulers every 15 minutes but the defined scheduler task should be run every 2 hours, not each time the cron checks it. This is what I have there on the Scheduler control panel (the scheduler name is "Index rebuild every 2 hours"):
Index rebuild every 2 hours ConsoleCommandTask * */2 * * * active ✔
(The ConsoleCommandTask is set up to i:r.)
Start Time End Time Status Output Aug 10, 2017 14:45:03 Aug 10, 2017 14:45:12 done Started rebuilding index... Indexed wiki page: 8 file: 6 file gallery: 4 trackeritem: 1 tracker: 1 trackerfield: 10 comment: 0 user: 2 group: 3 activity: 1 Rebuilding index done Execution time: 9 secs Current Memory usage: 58.8 MiB Memory peak usage before indexing: 21.0 MiB Memory peak usage after indexing: 59.7 MiB Number of queries: 512 Aug 10, 2017 14:30:03 Aug 10, 2017 14:30:12 done Started rebuilding index... Indexed wiki page: 8 file: 6 file gallery: 4 trackeritem: 1 tracker: 1 trackerfield: 10 comment: 0 user: 2 group: 3 activity: 1 Rebuilding index done Execution time: 8 secs Current Memory usage: 55.0 MiB Memory peak usage before indexing: 21.5 MiB Memory peak usage after indexing: 55.9 MiB Number of queries: 504 Aug 10, 2017 14:15:06 Aug 10, 2017 14:15:16 done Started rebuilding index... Indexed wiki page: 8 file: 6 file gallery: 4 trackeritem: 1 tracker: 1 trackerfield: 10 comment: 0 user: 2 group: 3 activity: 1 Rebuilding index done Execution time: 9 secs Current Memory usage: 54.7 MiB Memory peak usage before indexing: 21.0 MiB Memory peak usage after indexing: 55.6 MiB Number of queries: 504
I want to run the scheduled task every 2 hours as defined, not every 15 minutes I check if there are any new schedulers.
Related links:
https://dev.tiki.org/Scheduler actually, this is some other "Scheduler" (same name for different features?), oops
https://doc.tiki.org/Scheduler
The public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
The public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |