0001-debian-uwsgi-use-cron2-64474.patch
debian/uwsgi.ini | ||
---|---|---|
18 | 18 |
spooler-max-tasks = 20 |
19 | 19 | |
20 | 20 |
# every five minutes |
21 |
unique-cron = -5 -1 -1 -1 -1 /usr/bin/chrono-manage tenant_command cancel_events --all-tenants -v0
|
|
22 |
unique-cron = -5 -1 -1 -1 -1 /usr/bin/chrono-manage tenant_command send_email_notifications --all-tenants -v0
|
|
23 |
unique-cron = -5 -1 -1 -1 -1 /usr/bin/chrono-manage tenant_command update_event_recurrences --all-tenants -v0
|
|
21 |
cron2 = minute=-5,unique=1 /usr/bin/chrono-manage tenant_command cancel_events --all-tenants -v0
|
|
22 |
cron2 = minute=-5,unique=1 /usr/bin/chrono-manage tenant_command send_email_notifications --all-tenants -v0
|
|
23 |
cron2 = minute=-5,unique=1 /usr/bin/chrono-manage tenant_command update_event_recurrences --all-tenants -v0
|
|
24 | 24 |
# hourly |
25 |
unique-cron = 1 -1 -1 -1 -1 /usr/bin/chrono-manage tenant_command clearsessions --all-tenants
|
|
26 |
unique-cron = 1 -1 -1 -1 -1 /usr/bin/chrono-manage tenant_command send_booking_reminders --all-tenants
|
|
27 |
unique-cron = 1 -1 -1 -1 -1 /usr/bin/chrono-manage tenant_command sync_desks_timeperiod_exceptions --all-tenants
|
|
25 |
cron2 = minute=3,unique=1 /usr/bin/chrono-manage tenant_command clearsessions --all-tenants
|
|
26 |
cron2 = minute=13,unique=1 /usr/bin/chrono-manage tenant_command send_booking_reminders --all-tenants
|
|
27 |
cron2 = minute=23,unique=1 /usr/bin/chrono-manage tenant_command sync_desks_timeperiod_exceptions --all-tenants
|
|
28 | 28 |
# daily |
29 |
unique-cron = 2 4 -1 -1 -1 /usr/bin/chrono-manage tenant_command anonymize_bookings --all-tenant
|
|
29 |
cron2 = minute=33,hour=4,unique=1 /usr/bin/chrono-manage tenant_command anonymize_bookings --all-tenant
|
|
30 | 30 |
# monthly |
31 |
unique-cron = 1 1 1 -1 -1 /usr/bin/chrono-manage tenant_command update_shared_custody_holiday_rules --all-tenant
|
|
32 |
# every 01/01 at 1:1
|
|
33 |
unique-cron = 1 1 1 1 -1 /usr/bin/chrono-manage tenant_command sync_desks_timeperiod_exceptions_from_settings --all-tenants -v0
|
|
31 |
cron2 = minute=43,hour=1,day=1,unique=1 /usr/bin/chrono-manage tenant_command update_shared_custody_holiday_rules --all-tenant
|
|
32 |
# yearly (1th january)
|
|
33 |
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
|
|
34 | 34 | |
35 | 35 |
master = true |
36 | 36 |
enable-threads = true |
37 |
- |