Hacker News new | ask | show | jobs
by dralley 1287 days ago
> Don't glance at a crontab to see when things will next execute, run some other tool that will inspect everything for you. Make things more complex and difficult to read, and then write tools to make it easier to read again.

systemctl list-timers is vastly more informative in a practical sense than just looking at the crontab. It just straight up tells you exactly when it ran last, how long ago that was, when it will run next, and how much time is left until that happens.

1 comments

More importantly, you don't have to worry about fat-fingering an entry in your crontab and having everything from that point onward silently fail.