migrated to crond
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
CRON_CONFIG_FILE="/opt/crontab"
|
||||
CRON_CONFIG_FILE="/etc/crontabs/root"
|
||||
|
||||
echo "${CRON} python /opt/qbit-maid.py" > $CRON_CONFIG_FILE
|
||||
echo "${CRON} python /opt/qbit-maid.py" >> $CRON_CONFIG_FILE
|
||||
echo "@reboot python /opt/qbit-maid.py" >> $CRON_CONFIG_FILE
|
||||
|
||||
exec supercronic -passthrough-logs -quiet $CRON_CONFIG_FILE
|
||||
exec crond -f
|
||||
Reference in New Issue
Block a user