From efbc79a4505e5515fbc49b3797b368f62e22c825 Mon Sep 17 00:00:00 2001 From: Emilie Date: Tue, 5 Sep 2017 18:29:01 +0200 Subject: [PATCH] [upgrade.sh] : add --cron option to copy cron into /etc/cron.d --- upgrade.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/upgrade.sh b/upgrade.sh index a87d739..393160d 100755 --- a/upgrade.sh +++ b/upgrade.sh @@ -12,3 +12,8 @@ if [ "$1" = "--reload-wsgi" ]; then touch app/wsgi.py fi + +if [ "$1" = "--cron" ]; + then + sudo cp /srv/ircam-www/etc/cron.d/app /etc/cron.d/ircam-www +fi -- 2.39.5