On Feb 10, 2022, at 15:42, Patrick Dupre <pdupre@xxxxxxx> 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. Take this advice with a grain of salt, I am writing this from a mobile device from memory of how it works. Cron.weekly is launched from anacrontab, which doesn’t actually set a day of week, just the interval between runs. It checks a date in /var/spool/anacron/cron.weekly, and if it has been more than 7 days (that’s what the 7 stands for in that line) then it runs. Then it sets the date in the spool file for that day, so subsequent checks will reference it. This is great to capture jobs that need to run if it’s been *more* than a week, but doesn’t actually help if you want to set weekly jobs to run on a certain day. I can see two solutions: 1.) edit the spool file to be last Saturday. 2.) just use a regular cron job in/etc/cron.d/. And yes, 6 is Saturday. I believe you can just use the word too in cronie. It is smart. -- Jonathan Billings _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure