Loading...
 
Skip to main content

History: Scheduler_Presets

Source of version: 5 (current)

Copy to clipboard
            Configuration profile that enables Scheduler feature and loads a preset of schedulers.

{CODE(caption=>YAML,wrap=>0)}
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_preset_1
    data:
      name: Search Index Rebuild
      task: ConsoleCommandTask
      params:
        console_command: index:rebuild
      run_time: 0 6 * * *
      status: active
  -
    type: scheduler
    ref: scheduler_preset_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
{CODE}