debian: create multitenant crontab

This commit is contained in:
Thomas NOËL 2020-03-21 03:24:20 +01:00
parent b6289798ba
commit e9e96f9fcc
1 changed files with 6 additions and 1 deletions

7
debian/zoo.cron.d vendored
View File

@ -1,3 +1,8 @@
MAILTO=root
@daily zoo /usr/bin/zoo-manage rsu-cron
# "tenant_command --all-tenants" commands are disabled if DISABLE_CRON_JOBS is True
0,10,20,30,40,50 * * * * zoo test -x /usr/bin/zoo-manage && /usr/bin/zoo-manage tenant_command runjobs --all-tenants
0 0 * * * zoo test -x /usr/bin/zoo-manage && /usr/bin/zoo-manage tenant_command rsu-cron --all-tenants
0 0 * * * zoo test -x /usr/bin/zoo-manage && /usr/bin/zoo-manage tenant_command rsu-duplicates -v0 --all-tenants find --limit 0.55