[
'name' => tr('Scheduler stalled after (minutes)'),
'description' => tr('Set a scheduler to stall if the running time is long. Set 0 to disable stall detection.'),
'type' => 'text',
'filter' => 'digits',
'default' => 15,
'tags' => ['advanced'],
],
'scheduler_notify_on_stalled' => [
'name' => tr('Notify on stalled schedulers'),
'description' => tr('Send an email notification when a stalled scheduler is detected.'),
'type' => 'flag',
'default' => 'y',
'tags' => ['advanced'],
],
'scheduler_users_to_notify_on_stalled' => [
'name' => tr('Users to notify on stalled task'),
'description' => tr('List of users/emails separated by comma to be notified when a scheduler task is set to stalled.Ex: admin,operations@example.comIf empty, the email will be sent to all administrators.'),
'type' => 'text',
'default' => '',
'tags' => ['advanced'],
],
'scheduler_healing_timeout' => [
'name' => tr('Self healing after (minutes)'),
'description' => tr('Self healing resets a stalled scheduler automatically after the timeout set. 0 disables self healing'),
'type' => 'text',
'size' => '5',
'default' => 30,
'filter' => 'digits',
'tags' => ['advanced'],
],
'scheduler_notify_on_healing' => [
'name' => tr('Notify on healed schedulers'),
'description' => tr('Send an email notification when a stalled scheduler is healed.'),
'type' => 'flag',
'default' => 'y',
'tags' => ['advanced'],
],
'scheduler_users_to_notify_on_healed' => [
'name' => tr('Users to notify on healed task'),
'description' => tr('List of users/emails separated by comma to be notified when a scheduler task is set to healed.Ex: admin,operations@example.comIf empty, the email will be sent to all administrators.'),
'type' => 'text',
'default' => '',
'tags' => ['advanced'],
],
'scheduler_keep_logs' => [
'name' => tr('Number of logs to keep'),
'description' => tr('0 will keep all logs'),
'type' => 'text',
'size' => '5',
'default' => 10000,
'filter' => 'digits',
'tags' => ['advanced'],
],
'scheduler_delay' => [
'name' => tr('Delay scheduled time (minutes)'),
'description' => tr('When calculating if the jobs should run, take the delay into consideration'),
'type' => 'text',
'filter' => 'digits',
'default' => 0,
'tags' => ['advanced'],
],
];
}