debian/uwsgi: use cron2 (#64474) #16
|
@ -18,19 +18,19 @@ spooler-python-import = hobo.provisionning.spooler
|
||||||
spooler-max-tasks = 20
|
spooler-max-tasks = 20
|
||||||
|
|
||||||
# every five minutes
|
# every five minutes
|
||||||
unique-cron = -5 -1 -1 -1 -1 /usr/bin/chrono-manage tenant_command cancel_events --all-tenants -v0
|
cron2 = minute=-5,unique=1 /usr/bin/chrono-manage tenant_command cancel_events --all-tenants -v0
|
||||||
unique-cron = -5 -1 -1 -1 -1 /usr/bin/chrono-manage tenant_command send_email_notifications --all-tenants -v0
|
cron2 = minute=-5,unique=1 /usr/bin/chrono-manage tenant_command send_email_notifications --all-tenants -v0
|
||||||
unique-cron = -5 -1 -1 -1 -1 /usr/bin/chrono-manage tenant_command update_event_recurrences --all-tenants -v0
|
cron2 = minute=-5,unique=1 /usr/bin/chrono-manage tenant_command update_event_recurrences --all-tenants -v0
|
||||||
# hourly
|
# hourly
|
||||||
unique-cron = 1 -1 -1 -1 -1 /usr/bin/chrono-manage tenant_command clearsessions --all-tenants
|
cron2 = minute=3,unique=1 /usr/bin/chrono-manage tenant_command clearsessions --all-tenants
|
||||||
unique-cron = 1 -1 -1 -1 -1 /usr/bin/chrono-manage tenant_command send_booking_reminders --all-tenants
|
cron2 = minute=13,unique=1 /usr/bin/chrono-manage tenant_command send_booking_reminders --all-tenants
|
||||||
unique-cron = 1 -1 -1 -1 -1 /usr/bin/chrono-manage tenant_command sync_desks_timeperiod_exceptions --all-tenants
|
cron2 = minute=23,unique=1 /usr/bin/chrono-manage tenant_command sync_desks_timeperiod_exceptions --all-tenants
|
||||||
# daily
|
# daily
|
||||||
unique-cron = 2 4 -1 -1 -1 /usr/bin/chrono-manage tenant_command anonymize_bookings --all-tenant
|
cron2 = minute=33,hour=4,unique=1 /usr/bin/chrono-manage tenant_command anonymize_bookings --all-tenants
|
||||||
# monthly
|
# monthly
|
||||||
unique-cron = 1 1 1 -1 -1 /usr/bin/chrono-manage tenant_command update_shared_custody_holiday_rules --all-tenant
|
cron2 = minute=43,hour=1,day=1,unique=1 /usr/bin/chrono-manage tenant_command update_shared_custody_holiday_rules --all-tenants
|
||||||
# every 01/01 at 1:1
|
# yearly (1th january)
|
||||||
unique-cron = 1 1 1 1 -1 /usr/bin/chrono-manage tenant_command sync_desks_timeperiod_exceptions_from_settings --all-tenants -v0
|
cron2 = minute=53,hour=2,day=1,month=1,unique=1 /usr/bin/chrono-manage tenant_command sync_desks_timeperiod_exceptions_from_settings --all-tenants -v0
|
||||||
|
|
||||||
master = true
|
master = true
|
||||||
enable-threads = true
|
enable-threads = true
|
||||||
|
|
Loading…
Reference in New Issue