3 ms·
/etc/cron.{hourly,daily,weekly,monthly} are just some convenience shortcuts. No one is forcing you to use them.
by ciupicri 4y ago
/etc/cron.{hourly,daily,weekly,monthly} are just some convenience shortcuts. No one is forcing you to use them.
- lazide 4y agoWhen a bunch of important system functionality is done using them, I’m required to know they exist. /etc/crontab is no different. It’s not that much different than systemd in that sense. Especially since the /etc/cron.whatever special rules like files with dots in them get ignored (ugh)
- jerf 4y agoAnother fun one I've gotten bitten by a lot is that the /etc/cron.* directories are run sequentially, so if someone who doesn't know this put some long running process in it, ideally with a name that sorts first, it blocks everything else in that directory. (I personally know this, obviously, since I'm saying it now, but I've been bitten by the other people who do not realize this and do not think about how putting a process that may run for three hours at the beginning of cron.hourly means that the other processes may not run for that long.)