Configuration profile that enable Scheduler feature and loads a preset of schedulers.
YAML
preferences:
webcron_enabled: y
webcron_type: both
webcron_run_interval: 60
feature_scheduler: y
scheduler_stalled_timeout: 15
scheduler_notify_on_stalled: y
scheduler_healing_timeout: 30
scheduler_notify_on_healing: y
scheduler_keep_logs: 50
objects:
-
type: scheduler
ref: scheduler_demo_1
data:
name: Search Index Rebuild
task: ConsoleCommandTask
params:
console_command: index:rebuild
run_time: 0 6 * * *
status: active
-
type: scheduler
ref: scheduler_demo_2
data:
name: Tiki Update
description: Update the current installation using the svup tool
task: ShellCommandTask
params:
shell_command: php docs/devtools/svnup.php
run_time: 0 4 * * *
status: inactive