1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/config/schedule.yml

66 lines
1.6 KiB
YAML
Raw Normal View History

2016-03-23 18:39:41 +01:00
subscription_expire_in_7_days:
2023-02-03 11:51:23 +01:00
cron: "0 0 0 * * *" # every day, at midnight
class: SubscriptionExpireWorker
2016-03-23 18:39:41 +01:00
queue: default
args: [7]
subscription_is_expired:
2023-02-03 11:51:23 +01:00
cron: "0 0 23 * * *" # every day, at 11pm
class: SubscriptionExpireWorker
2016-03-23 18:39:41 +01:00
queue: default
args: [0]
generate_statistic:
2023-02-03 11:51:23 +01:00
cron: "0 0 1 * * *" # every day, at 1am
class: StatisticWorker
2016-03-23 18:39:41 +01:00
queue: default
i_calendar_import:
2023-02-03 11:51:23 +01:00
cron: "0 0 * * * *" # every day, every hour
class: ICalendarImportWorker
queue: default
reservation_reminder:
2023-02-03 11:51:23 +01:00
cron: "0 1 * * * *" # every day, every hour + 1 minute
class: ReservationReminderWorker
queue: default
close_period_reminder_worker:
2023-02-03 11:51:23 +01:00
cron: "0 0 12 * * 1" # every monday at 12pm
class: ClosePeriodReminderWorker
queue: default
free_disk_space:
2023-02-03 11:51:23 +01:00
cron: "0 0 5 * * 0" # every sunday at 5am
class: FreeDiskSpaceWorker
2020-07-01 16:56:21 +02:00
queue: system
# this will prevent that all the instances query the hub simultaneously
<% h = DateTime.current - 1.minute %>
2020-07-01 16:56:21 +02:00
version_check:
2023-02-03 11:51:23 +01:00
cron: <%="0 #{h.strftime('%M %H')} * * #{h.cwday}" %> # every week, at current day+time
class: VersionCheckWorker
2020-07-01 16:56:21 +02:00
queue: system
payment_schedule_item:
cron: "0 * * * *" # every day, every hour
class: PaymentScheduleItemWorker
queue: default
accounting_data:
2023-02-03 11:51:23 +01:00
cron: "0 0 0 * * *" # every day, at midnight
class: AccountingWorker
queue: default
auto_cancel_tranings:
2023-02-03 11:51:23 +01:00
cron: "0 */5 * * * *" # every day, every 5 minutes
class: TrainingAutoCancelWorker
queue: default
auto_cancel_authorizations:
2023-02-03 11:51:23 +01:00
cron: "0 0 0 * * *" # every day, at midnight
class: TrainingAuthorizationWorker
queue: default
<%= PluginRegistry.insert_code('yml.schedule') %>