Skip to content
Snippets Groups Projects
Commit dadb78a2 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

crontab was cleared after deb package upgrade

parent 4eaf6946
No related branches found
No related tags found
1 merge request!302Deb issues
...@@ -50,9 +50,7 @@ if [ -d /run/systemd/system ]; then ...@@ -50,9 +50,7 @@ if [ -d /run/systemd/system ]; then
systemctl --system daemon-reload >/dev/null || true systemctl --system daemon-reload >/dev/null || true
fi fi
if [ "$1" = "configure" ] && [ -z "$2" ]; then crontab -u smasch -l 2>/dev/null | grep -v "runcrons" | { cat; echo "*/5 * * * * . /usr/lib/smasch/env/bin/activate && python /usr/lib/smasch/manage.py runcrons >> /var/log/smasch/cronjob.log 2>&1"; } | crontab -u smasch -
crontab -u smasch -l 2>/dev/null | grep -v "runcrons" | { cat; echo "*/5 * * * * . /usr/lib/smasch/env/bin/activate && python /usr/lib/smasch/manage.py runcrons >> /var/log/smasch/cronjob.log 2>&1"; } | crontab -u smasch -
fi
#DEBHELPER# #DEBHELPER#
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment