Automatic Update Via Cron

Started by xxavvv123, April 15, 2024, 10:33:39 PM

Previous topic - Next topic
Hello!

I have a cron set to do the following: Upgrade the firmware on midnight on Friday OR Saturday within the date range of 21-28 of every month. I had my cron set to 0 0 21-28 * 5,6. Looks like it's updating every Friday regardless of it's within the 21st to 28th. Looks like the cron logic does not pick that up.

Is there any remedy to this - would a cron via CLI need to be made that uses the upgrade.sh script?

Thanks

Cron does not necessarily combine the individual fields with an AND operator. Use this site to check the real effect of your cron tab entries:

https://crontab.guru
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)