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
--
Jon H. LaBadie                  jo...@jgcomp.com
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to