Tiny Core Linux
Tiny Core Base => TCB Bugs => Topic started by: mocallins on December 22, 2020, 01:08:07 PM
-
I've tried pretty much everything i found with a google search of cron(d) and @reboot.
Even tried different spellings of @reboot (all lower case, all uppercase, just capital R),
nothing helps.
the example "* * * * * sh /home/tc/bin", works as expected and bothers you every minute.
Started with debug level 0, find no errors.
-
Hi mocallins
I've tried pretty much everything i found with a google search of cron(d) and @reboot. ...
There is no command called @reboot. There is a reboot command and it needs to be run as root:
sudo reboot
-
I don't think busybox cron supports all those special timings. See busybox docs and the source for details.
-
The Wikipedia page for Cron describes (https://en.wikipedia.org/wiki/Cron#Nonstandard_predefined_scheduling_definitions) @reboot as a non-standard definition, so it shouldn't be surprising if BusyBox doesn't support it.
Cronie (https://github.com/cronie-crond/cronie) is a crond implementation that supports it. There's no TCL extension for it, but maybe you could make one if you really need @reboot? Though don't forget about /opt/bootlocal.sh.
-
Hmmm, well i find references many places that it isn't supported, but nothing on the BusyBox site (busybox.net)
But then again some source code that shows it is implemented, however i don't know how it is implemetened in TinyCore.
I think whomever included it in TinyCore should do the lookup and find out if it is implemented.
I've done my due diligence to see if I'm doing everything correctly, and i feel that i have.
So now i'm reporting it.