2 ms·
For as simple as the cron syntax is, the number of times I’ve seen a task scheduled to run every minute for an hour is far beyond non-zero.
by withinboredom 5y ago
For as simple as the cron syntax is, the number of times I’ve seen a task scheduled to run every minute for an hour is far beyond non-zero.
- imtringued 5y agoIt's because people want to test whether their command is actually successfully executed by cron because basic functionality like starting a job immediately isn't available and then they forget to revert that change. You have to use systemd timers for that... It's completely overkill (2 files each with a dozen lines) but it works much better in practice.
- withinboredom 5y agoI don't think that's the problem, I just think its really easy to forget to set it to 0. I literally lol'd when I just happened to be reading the docs here just now: https://rancher.com/docs/k3s/latest/en/installation/install-options/server-config/ https://rancher.com/docs/k3s/latest/en/installation/install-... and saw it under the example cron for "--etcd-snapshot-schedule-cron."