[LEDE-DEV] cron problem
e9hack
e9hack at gmail.com
Mon Feb 19 08:44:45 PST 2018
Hello,
I try to use cron to run some jobs depend on the weekday. It looks like that the weekday definition is completely ignored:
15 9 * * 1,2,3,4,5 mosquitto_pub -h mosquitto.lan -q 1 -r -p 1883 -t "cmnd/iRobot/POWER" -m "1"
15 10 * * 6,7 mosquitto_pub -h mosquitto.lan -q 1 -r -p 1883 -t "cmnd/iRobot/POWER" -m "1"
0 12 * * 1-5 mosquitto_pub -h mosquitto.lan -q 1 -r -p 1883 -t "cmnd/iRobot/POWER" -m "0"
0 13 * * 6-7 mosquitto_pub -h mosquitto.lan -q 1 -r -p 1883 -t "cmnd/iRobot/POWER" -m "0"
Every of this jobs will be executed on all weekdays. Is something wrong in my definition or does cron from busybox has a
bug?
Regards,
Hartmut
More information about the Lede-dev
mailing list