Scheduler task runs every 15 minutes instead of defined 2 hours
- Status
- Open
- Subject
- Scheduler task runs every 15 minutes instead of defined 2 hours
- Version
- 17.x
- Category
- Usability
- Feature
- Scheduler
- Resolution status
- New
- Submitted by
- luci
- Lastmod by
- luci
- Rating
- Description
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"):Copy to clipboardIndex rebuild every 2 hours ConsoleCommandTask * */2 * * * active ✔
(The ConsoleCommandTask is set up to i:r.)Scheduler "Index rebuild every 2 hours" Logs:
Copy to clipboardStart 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/Scheduleractually, this is some other "Scheduler" (same name for different features?), oops
https://doc.tiki.org/Scheduler- Importance
- 7
- Priority
- 35
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 6425
- Created
- Thursday 10 August, 2017 14:47:54 UTC
by luci - LastModif
- Tuesday 15 August, 2017 10:55:26 UTC