debian: check for corbo-manage before running cron jobs (#13993)
This commit is contained in:
parent
8b380812d2
commit
924aab5373
|
@ -1,5 +1,5 @@
|
|||
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
|
||||
MAILTO=root
|
||||
|
||||
*/5 * * * * corbo corbo-manage tenant_command send_announces --all-tenants
|
||||
0 * * * * corbo corbo-manage tenant_command sync_external_feeds --all-tenants
|
||||
*/5 * * * * corbo test -x /usr/bin/corbo-manage && corbo-manage tenant_command send_announces --all-tenants
|
||||
0 * * * * corbo test -x /usr/bin/corbo-manage && corbo-manage tenant_command sync_external_feeds --all-tenants
|
||||
|
|
Reference in New Issue