summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/publik-orleans-scripts.cron.hourly2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/publik-orleans-scripts.cron.hourly b/debian/publik-orleans-scripts.cron.hourly
index 905bb9b..238d29c 100644
--- a/debian/publik-orleans-scripts.cron.hourly
+++ b/debian/publik-orleans-scripts.cron.hourly
@@ -2,6 +2,6 @@
test -x /usr/bin/chrono-manage || exit 0
-CHRONO_TENANT_NAME=$(cd /var/lib/chrono/tenants/ && ls -1d *orleans*) || exit 0
+CHRONO_TENANT_NAME=$(cd /var/lib/chrono/tenants/ && ls -1d *orleans* 2>/dev/null) || exit 0
sudo -u chrono /usr/bin/chrono-manage tenant_command runscript -d $CHRONO_TENANT_NAME /usr/lib/publik/clients/orleans/sync-creche-events.py /var/lib/chrono/tenants/${CHRONO_TENANT_NAME}/media/family/exports_dispo_creche.zip