Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
36d9692086 | ||
|
|
4416ebd924 |
+2
-2
@@ -2,7 +2,7 @@
|
||||
|
||||
CRON_CONFIG_FILE="/etc/crontabs/root"
|
||||
|
||||
echo "${CRON} python /opt/qbit-maid.py" >> $CRON_CONFIG_FILE
|
||||
echo "@reboot python /opt/qbit-maid.py" >> $CRON_CONFIG_FILE
|
||||
grep -qF 'python /opt/qbit-maid.py' $CRON_CONFIG_FILE || echo "${CRON} python /opt/qbit-maid.py" >> $CRON_CONFIG_FILE
|
||||
grep -qF '@reboot' $CRON_CONFIG_FILE || echo "@reboot python /opt/qbit-maid.py" >> $CRON_CONFIG_FILE
|
||||
|
||||
exec crond -f
|
||||
Reference in New Issue
Block a user