From 2f80597d7987bdf1718fe38911b87577646f6a2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Mon, 11 Dec 2017 12:39:18 +0100 Subject: [PATCH] debian: move exception sync job to cron.hourly (#20545) This avoids syntax errors in crontab format. --- debian/chrono.cron.d | 3 --- debian/chrono.cron.hourly | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 debian/chrono.cron.d create mode 100644 debian/chrono.cron.hourly diff --git a/debian/chrono.cron.d b/debian/chrono.cron.d deleted file mode 100644 index 83691cf..0000000 --- a/debian/chrono.cron.d +++ /dev/null @@ -1,3 +0,0 @@ -MAILTO=root - -0 * * * * /sbin/runuser -u chrono /usr/bin/chrono-manage -- tenant_command sync_desks_timeperiod_exceptions --all-tenants diff --git a/debian/chrono.cron.hourly b/debian/chrono.cron.hourly new file mode 100644 index 0000000..0598389 --- /dev/null +++ b/debian/chrono.cron.hourly @@ -0,0 +1,3 @@ +#! /bin/sh + +/sbin/runuser -u chrono /usr/bin/chrono-manage -- tenant_command sync_desks_timeperiod_exceptions --all-tenants -- 2.15.1