I want to run a script on the 1st of every month.
If the computer was powered off, I'd like to execute it the next time it turns on.
Anacron fits in regard to the "powered off" use case but it only provides daily, weekly, monthly intervals. Monthly is too late and weekly way too early.
I checked fcron but that package clashes with Timeshift so that's not an option.
I was thinking if cron can run the task one time, at any time between the 1st & the 4th of each month, that would be ok too. I had a look at the cron syntax and think that's actually not possible.
Does anybody know how to solve this?
I'm on Arch Linux (Manjaro).