News for hackers. Stuff that matters.
Re:Fcron Is the Best Cron by ape4 on Saturday October 14, 2023 @09:03AM (#37880156)
My favorite is

    /etc/cron.monthly/
    /etc/cron.daily/
    /etc/cron.hourly/
    /etc/cron.weekly/
Super simple to use - no remembering the order of numbers. Only one job runs at a time (so you don't need to pick times that don't overlap) Of course, it doesn't handle every case. I don't know if all Linux's have it.
Re:Fcron Is the Best Cron by eterps on Saturday October 14, 2023 @10:07AM (#37880575)
Too bad this isn't directly supported in ~/.config/ it would make it very easy in combination with GNU stow or another dotfiles manager.
Re:Fcron Is the Best Cron by Denvercoder9 on Saturday October 14, 2023 @10:22AM (#37880670)
> Only one job runs at a time

At least on Debian, this is not true. If your hourly cronjobs take longer than an hour, it'll happily start a second instance of them in parallel.

Re:Fcron Is the Best Cron by ape4 on Saturday October 14, 2023 @11:45AM (#37881387)
Good point, I can see that happening. I was talking about all the, say, hourly scripts running serially.
Re:Fcron Is the Best Cron by detistea on Sunday October 15, 2023 @08:22AM (#37889156)
It's true when using systemd-cron. It has built-in locking against duplicate execution.