On Thu, Feb 10, 2022 at 09:41:23PM +0100, Patrick Dupre wrote:
Hello,
Currently anacrontab is set 7 25 cron.weekly nice run-parts /etc/cron.weekly
It means that it run every Thursday. I am no satisfied by thus day. How can I have it running every Saturday ?
crontab is not activated #30 12 * * 6 root run-parts /etc/cron.weekly
6 would be the right day.
Run your job daily, but make the job a shell script. In the script run the date command to check the DOW. If it is Sat, run the real job. If not Sat, exit.
jl