I tired to configure task sheduling according to the wiki https://openwrt.org/docs/guide-user/base-system/cron
Version of OpenWrt is 22.03.3, r20028-43d71ad93e, my router is Asus gP-500 v2.
When I tried to use shorcut @daily in my task specification, cron daemon just ignored it and my task doesn't sheduled. I noticed it when I read logs next day.
After that I replaced shortcut @daily by it's equivalent '0 0 * * *' and my task sheduled just as planed.
So my guess is that cron shorcuts on 22.03.3 is broken.
P.s. every time there was EOL (empty line) in crontab, so that is not the point.
I found two topics dated by 22 year where people complaines the same issues:
May be we should either fix wiki, or fix crond shortcuts?
In any case we have situation when instructions in wiki doesn't lead user to result, that he wanted to achieve. In other words information in wiki disinforms users, so it should be edited.
In my case I had to make a trip for 15 km to reboot openvpn service in office because of not working crond shortcuts.
I'm new to OpenWRT forum and wiki. Who can edit wiki? I tried to login using my credentials that I use here, but it seams that it uses another account infrastructure.
What should I do next to make edit of wiki about crond shrotcuts. Any advice/instructions?
Thank you, hnyman, for editing!
But, I want to say that for the normal user (like me) it is not clear that FEATURE_CROND_SPECIAL_TIMES is disabled by default in OpenWRT. Can you add that info to this note? It can be like:
"Crond shortcuts is not implemented by default in OpenWRT. Shortcuts require compiling busybox with FEATURE_CROND_SPECIAL_TIMES enabled in the busybox compile options."