Hi,
I have OpenWRT 19.07.7 installed on my AR150 router. I have crond running, but when I modify the crontab file (either via terminal or LuCI/Scheduled Tasks), crond doesn't notice it and doesn't apply the changes until I restart crond manually. Is that a bug, or may I start crond somehow different to notify the modification? Thank you
root@OpenWrt:~# ps |grep cron
1150 root 1212 S /usr/sbin/crond -f -c /etc/crontabs -l 5
1966 root 1208 S grep cron
Scheduled Tasks
This is the system crontab in which scheduled tasks can be defined.
Note: you need to manually restart the cron service if the crontab file was empty before editing.
So once the crontab is no longer empty, changes should be recognized automatically.
Yeah, I would like to use the LuCI interface, and I don't want to restart crond always. According to crond's manual, it should check the changes every minute and apply if it's needed.
I know, but I would like to modify cron regularly. Not only me, but others who prefers one click apply instead of browsing different pages and always search cron in the list to restart it. I think, Scheduled Task originally supposed to work like this, Save&Apply.