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
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |