2017-04-26 11:28:32 +00:00
|
|
|
Scheduler.create_if_not_exists(
|
2018-12-19 17:31:51 +00:00
|
|
|
name: 'Process pending tickets',
|
2017-04-26 11:28:32 +00:00
|
|
|
method: 'Ticket.process_pending',
|
|
|
|
period: 15.minutes,
|
2018-12-19 17:31:51 +00:00
|
|
|
prio: 1,
|
2017-04-26 11:28:32 +00:00
|
|
|
active: true,
|
|
|
|
)
|
|
|
|
Scheduler.create_if_not_exists(
|
2018-12-19 17:31:51 +00:00
|
|
|
name: 'Process escalation tickets',
|
2017-04-26 11:28:32 +00:00
|
|
|
method: 'Ticket.process_escalation',
|
|
|
|
period: 5.minutes,
|
2018-12-19 17:31:51 +00:00
|
|
|
prio: 1,
|
2017-04-26 11:28:32 +00:00
|
|
|
active: true,
|
|
|
|
)
|
2017-08-31 04:51:17 +00:00
|
|
|
Scheduler.create_if_not_exists(
|
2018-12-19 17:31:51 +00:00
|
|
|
name: 'Process auto unassign tickets',
|
2017-08-31 04:51:17 +00:00
|
|
|
method: 'Ticket.process_auto_unassign',
|
|
|
|
period: 10.minutes,
|
2018-12-19 17:31:51 +00:00
|
|
|
prio: 1,
|
2017-08-31 04:51:17 +00:00
|
|
|
active: true,
|
|
|
|
)
|
2017-04-26 11:28:32 +00:00
|
|
|
Scheduler.create_if_not_exists(
|
2018-12-19 17:31:51 +00:00
|
|
|
name: 'Import OTRS diff load',
|
|
|
|
method: 'Import::OTRS.diff_worker',
|
|
|
|
period: 3.minutes,
|
|
|
|
prio: 1,
|
|
|
|
active: true,
|
2017-04-26 11:28:32 +00:00
|
|
|
updated_by_id: 1,
|
|
|
|
created_by_id: 1,
|
|
|
|
)
|
|
|
|
Scheduler.create_if_not_exists(
|
2018-12-19 17:31:51 +00:00
|
|
|
name: 'Check Channels',
|
|
|
|
method: 'Channel.fetch',
|
|
|
|
period: 30.seconds,
|
|
|
|
prio: 1,
|
|
|
|
active: true,
|
2017-04-26 11:28:32 +00:00
|
|
|
updated_by_id: 1,
|
|
|
|
created_by_id: 1,
|
|
|
|
)
|
|
|
|
Scheduler.create_if_not_exists(
|
2018-12-19 17:31:51 +00:00
|
|
|
name: 'Check streams for Channel',
|
|
|
|
method: 'Channel.stream',
|
|
|
|
period: 60.seconds,
|
|
|
|
prio: 1,
|
|
|
|
active: true,
|
2017-04-26 11:28:32 +00:00
|
|
|
updated_by_id: 1,
|
|
|
|
created_by_id: 1,
|
|
|
|
)
|
|
|
|
Scheduler.create_if_not_exists(
|
2018-12-19 17:31:51 +00:00
|
|
|
name: 'Generate Session data',
|
|
|
|
method: 'Sessions.jobs',
|
|
|
|
period: 60.seconds,
|
|
|
|
prio: 1,
|
|
|
|
active: true,
|
2017-04-26 11:28:32 +00:00
|
|
|
updated_by_id: 1,
|
|
|
|
created_by_id: 1,
|
|
|
|
)
|
|
|
|
Scheduler.create_if_not_exists(
|
2018-12-19 17:31:51 +00:00
|
|
|
name: 'Execute jobs',
|
|
|
|
method: 'Job.run',
|
|
|
|
period: 5.minutes,
|
|
|
|
prio: 2,
|
|
|
|
active: true,
|
2017-04-26 11:28:32 +00:00
|
|
|
updated_by_id: 1,
|
|
|
|
created_by_id: 1,
|
|
|
|
)
|
|
|
|
Scheduler.create_if_not_exists(
|
2018-12-19 17:31:51 +00:00
|
|
|
name: 'Cleanup expired sessions',
|
|
|
|
method: 'SessionHelper.cleanup_expired',
|
|
|
|
period: 60 * 60 * 12,
|
|
|
|
prio: 2,
|
|
|
|
active: true,
|
2017-04-26 11:28:32 +00:00
|
|
|
updated_by_id: 1,
|
|
|
|
created_by_id: 1,
|
|
|
|
)
|
|
|
|
Scheduler.create_if_not_exists(
|
2018-12-19 17:31:51 +00:00
|
|
|
name: 'Delete old activity stream entries.',
|
|
|
|
method: 'ActivityStream.cleanup',
|
|
|
|
period: 1.day,
|
|
|
|
prio: 2,
|
|
|
|
active: true,
|
2017-04-26 11:28:32 +00:00
|
|
|
updated_by_id: 1,
|
|
|
|
created_by_id: 1,
|
|
|
|
)
|
|
|
|
Scheduler.create_if_not_exists(
|
2018-12-19 17:31:51 +00:00
|
|
|
name: 'Delete old entries.',
|
|
|
|
method: 'RecentView.cleanup',
|
|
|
|
period: 1.day,
|
|
|
|
prio: 2,
|
|
|
|
active: true,
|
2017-04-26 11:28:32 +00:00
|
|
|
updated_by_id: 1,
|
|
|
|
created_by_id: 1,
|
|
|
|
)
|
|
|
|
Scheduler.create_or_update(
|
2018-12-19 17:31:51 +00:00
|
|
|
name: 'Delete old online notification entries.',
|
|
|
|
method: 'OnlineNotification.cleanup',
|
|
|
|
period: 2.hours,
|
|
|
|
prio: 2,
|
|
|
|
active: true,
|
2017-04-26 11:28:32 +00:00
|
|
|
updated_by_id: 1,
|
|
|
|
created_by_id: 1,
|
|
|
|
)
|
|
|
|
Scheduler.create_or_update(
|
2018-12-19 17:31:51 +00:00
|
|
|
name: 'Delete old token entries.',
|
|
|
|
method: 'Token.cleanup',
|
|
|
|
period: 30.days,
|
|
|
|
prio: 2,
|
|
|
|
active: true,
|
2017-04-26 11:28:32 +00:00
|
|
|
updated_by_id: 1,
|
|
|
|
created_by_id: 1,
|
|
|
|
)
|
|
|
|
Scheduler.create_or_update(
|
2018-12-19 17:31:51 +00:00
|
|
|
name: 'Closed chat sessions where participients are offline.',
|
|
|
|
method: 'Chat.cleanup_close',
|
|
|
|
period: 15.minutes,
|
|
|
|
prio: 2,
|
|
|
|
active: true,
|
2017-04-26 11:28:32 +00:00
|
|
|
updated_by_id: 1,
|
|
|
|
created_by_id: 1,
|
|
|
|
)
|
|
|
|
Scheduler.create_or_update(
|
2018-12-19 17:31:51 +00:00
|
|
|
name: 'Cleanup closed sessions.',
|
|
|
|
method: 'Chat.cleanup',
|
|
|
|
period: 5.days,
|
|
|
|
prio: 2,
|
|
|
|
active: true,
|
2017-04-26 11:28:32 +00:00
|
|
|
updated_by_id: 1,
|
|
|
|
created_by_id: 1,
|
|
|
|
)
|
2019-12-04 14:29:43 +00:00
|
|
|
Scheduler.create_or_update(
|
|
|
|
name: 'Cleanup ActiveJob locks.',
|
|
|
|
method: 'ActiveJobLockCleanupJob.perform_now',
|
|
|
|
period: 1.day,
|
|
|
|
prio: 2,
|
|
|
|
active: true,
|
|
|
|
updated_by_id: 1,
|
|
|
|
created_by_id: 1,
|
|
|
|
)
|
2021-04-22 07:17:01 +00:00
|
|
|
Scheduler.create_or_update(
|
|
|
|
name: 'Cleanup dead sessions.',
|
|
|
|
method: 'SessionTimeoutJob.perform_now',
|
|
|
|
period: 1.minute,
|
|
|
|
prio: 2,
|
|
|
|
active: true,
|
|
|
|
updated_by_id: 1,
|
|
|
|
created_by_id: 1,
|
|
|
|
)
|
2017-04-26 11:28:32 +00:00
|
|
|
Scheduler.create_or_update(
|
2018-12-19 17:31:51 +00:00
|
|
|
name: 'Sync calendars with ical feeds.',
|
|
|
|
method: 'Calendar.sync',
|
|
|
|
period: 1.day,
|
|
|
|
prio: 2,
|
|
|
|
active: true,
|
2017-04-26 11:28:32 +00:00
|
|
|
updated_by_id: 1,
|
|
|
|
created_by_id: 1,
|
|
|
|
)
|
|
|
|
Scheduler.create_or_update(
|
2018-12-19 17:31:51 +00:00
|
|
|
name: 'Generate user based stats.',
|
|
|
|
method: 'Stats.generate',
|
|
|
|
period: 11.minutes,
|
|
|
|
prio: 2,
|
|
|
|
active: true,
|
2017-04-26 11:28:32 +00:00
|
|
|
updated_by_id: 1,
|
|
|
|
created_by_id: 1,
|
|
|
|
)
|
|
|
|
Scheduler.create_or_update(
|
2018-12-19 17:31:51 +00:00
|
|
|
name: 'Delete old stats store entries.',
|
|
|
|
method: 'StatsStore.cleanup',
|
|
|
|
period: 31.days,
|
|
|
|
prio: 2,
|
|
|
|
active: true,
|
2017-04-26 11:28:32 +00:00
|
|
|
updated_by_id: 1,
|
|
|
|
created_by_id: 1,
|
|
|
|
)
|
|
|
|
Scheduler.create_if_not_exists(
|
2018-12-19 17:31:51 +00:00
|
|
|
name: 'Cleanup HttpLog',
|
|
|
|
method: 'HttpLog.cleanup',
|
|
|
|
period: 1.day,
|
|
|
|
prio: 2,
|
|
|
|
active: true,
|
2017-04-26 11:28:32 +00:00
|
|
|
updated_by_id: 1,
|
|
|
|
created_by_id: 1,
|
|
|
|
)
|
2017-07-14 15:20:48 +00:00
|
|
|
Scheduler.create_if_not_exists(
|
2018-12-19 17:31:51 +00:00
|
|
|
name: 'Cleanup Cti::Log',
|
|
|
|
method: 'Cti::Log.cleanup',
|
|
|
|
period: 1.month,
|
|
|
|
prio: 2,
|
|
|
|
active: true,
|
2017-07-14 15:20:48 +00:00
|
|
|
updated_by_id: 1,
|
|
|
|
created_by_id: 1,
|
|
|
|
)
|
2020-05-28 13:28:07 +00:00
|
|
|
Scheduler.create_or_update(
|
|
|
|
name: 'Delete obsolete classic IMAP backup.',
|
|
|
|
method: 'ImapAuthenticationMigrationCleanupJob.perform_now',
|
|
|
|
period: 1.day,
|
|
|
|
prio: 2,
|
|
|
|
active: true,
|
|
|
|
updated_by_id: 1,
|
|
|
|
created_by_id: 1,
|
|
|
|
)
|
2017-04-26 11:28:32 +00:00
|
|
|
Scheduler.create_if_not_exists(
|
|
|
|
name: 'Import Jobs',
|
|
|
|
method: 'ImportJob.start_registered',
|
|
|
|
period: 1.hour,
|
|
|
|
prio: 1,
|
|
|
|
active: true,
|
|
|
|
updated_by_id: 1,
|
|
|
|
created_by_id: 1
|
|
|
|
)
|
2020-09-08 15:06:23 +00:00
|
|
|
Scheduler.create_if_not_exists(
|
|
|
|
name: 'Handle data privacy tasks.',
|
|
|
|
method: 'DataPrivacyTaskJob.perform_now',
|
|
|
|
period: 10.minutes,
|
|
|
|
last_run: Time.zone.now,
|
|
|
|
prio: 2,
|
|
|
|
active: true,
|
|
|
|
updated_by_id: 1,
|
|
|
|
created_by_id: 1,
|
|
|
|
)
|