Projet

Général

Profil

0001-debian-move-exception-sync-job-to-cron.hourly-20545.patch

Frédéric Péters, 11 décembre 2017 12:40

Télécharger (1,1 ko)

Voir les différences:

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
debian/chrono.cron.d
1
MAILTO=root
2

  
3
0 * * * * /sbin/runuser -u chrono /usr/bin/chrono-manage -- tenant_command sync_desks_timeperiod_exceptions --all-tenants
debian/chrono.cron.hourly
1
#! /bin/sh
2

  
3
/sbin/runuser -u chrono /usr/bin/chrono-manage -- tenant_command sync_desks_timeperiod_exceptions --all-tenants
0
-