debian: move cron jobs to uwsgi (#74597) #103
|
@ -1,4 +1 @@
|
|||
MAILTO=root
|
||||
|
||||
0 8 * * * combo /usr/bin/combo-manage tenant_command notify_new_remote_invoices --all-tenants -v0
|
||||
*/10 * * * * combo /usr/bin/combo-manage tenant_command lingo-poll-backend --all-tenants -v0 --no-input --all-backends
|
||||
# crons managed by uwsgi; see /etc/combo/uwsgi.ini
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
# crons managed by uwsgi; see /etc/combo/uwsgi.ini
|
||||
|
||||
/sbin/runuser -u combo /usr/bin/combo-manage -- tenant_command cron --all-tenants -v0
|
||||
/sbin/runuser -u combo /usr/bin/combo-manage -- tenant_command clearsessions --all-tenants -v0
|
||||
exit 0
|
||||
|
|
|
@ -19,6 +19,14 @@ spooler-max-tasks = 20
|
|||
|
||||
# daily
|
||||
cron2 = minute=33,hour=4,unique=1 /usr/bin/combo-manage tenant_command clear_snapshot_pages --all-tenants
|
||||
cron2 = minute=0,hour=8,unique=1 /usr/bin/combo-manage tenant_command notify_new_remote_invoices --all-tenants -v0
|
||||
|
||||
# hourly
|
||||
cron2 = minute=3,unique=1 /usr/bin/combo-manage tenant_command clearsessions --all-tenants -v0
|
||||
cron2 = minute=10,unique=1 /usr/bin/combo-manage tenant_command cron --all-tenants -v0
|
||||
|
||||
# every ten minutes
|
||||
cron2 = minutes=-10,unique=1 /usr/bin/combo-manage tenant_command lingo-poll-backend --all-tenants -v0 --no-input --all-backends
|
||||
|
||||
master = true
|
||||
enable-threads = true
|
||||
|
|
Loading…
Reference in New Issue