2016-03-23 18:39:41 +01:00
|
|
|
subscription_expire_in_7_days:
|
|
|
|
cron: "0 0 * * *"
|
|
|
|
class: "SubscriptionExpireWorker"
|
|
|
|
queue: default
|
|
|
|
args: [7]
|
|
|
|
|
|
|
|
subscription_is_expired:
|
|
|
|
cron: "0 23 * * *"
|
|
|
|
class: "SubscriptionExpireWorker"
|
|
|
|
queue: default
|
|
|
|
args: [0]
|
|
|
|
|
|
|
|
generate_statistic:
|
|
|
|
cron: "0 1 * * *"
|
|
|
|
class: "StatisticWorker"
|
|
|
|
queue: default
|
2016-05-25 12:21:38 +02:00
|
|
|
|
2019-12-02 15:53:24 +01:00
|
|
|
i_calendar_import:
|
2020-02-26 16:04:40 +01:00
|
|
|
cron: "0 * * * *"
|
2019-12-02 15:53:24 +01:00
|
|
|
class: "ICalendarImportWorker"
|
|
|
|
queue: default
|
|
|
|
|
2016-05-04 11:48:14 +02:00
|
|
|
open_api_trace_calls_count:
|
|
|
|
cron: "0 4 * * 0" # every sunday at 4am
|
|
|
|
class: "OpenAPITraceCallsCountWorker"
|
2016-06-27 16:31:50 +02:00
|
|
|
|
2016-08-17 17:39:12 +02:00
|
|
|
reservation_reminder:
|
|
|
|
cron: "1 * * * *"
|
|
|
|
class: "ReservationReminderWorker"
|
|
|
|
queue: default
|
|
|
|
|
2019-03-18 14:33:30 +01:00
|
|
|
close_period_reminder_worker:
|
|
|
|
cron: "0 12 * * 1" # every monday at 12pm
|
|
|
|
class: "ClosePeriodReminderWorker"
|
|
|
|
queue: default
|
|
|
|
|
2019-02-26 15:18:19 +01:00
|
|
|
free_disk_space:
|
|
|
|
cron: "0 5 * * 0" # every sunday at 5am
|
|
|
|
class: "FreeDiskSpaceWorker"
|
2020-07-01 16:56:21 +02:00
|
|
|
queue: system
|
|
|
|
|
|
|
|
# schedule a version check, every week at the current day+time
|
|
|
|
# this will prevent that all the instances query the hub simultaneously
|
|
|
|
<% m = DateTime.current.minute - 1; h = DateTime.current.hour; d = DateTime.current.cwday %>
|
|
|
|
version_check:
|
|
|
|
cron: <%="#{m} #{h} * * #{d}" %>
|
|
|
|
class: 'VersionCheckWorker'
|
|
|
|
queue: system
|
2019-02-26 15:18:19 +01:00
|
|
|
|
2016-05-25 12:21:38 +02:00
|
|
|
<%= PluginRegistry.insert_code('yml.schedule') %>
|