Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

So you find troubleshooting cron jobs easier?

Cron has no diagnostics whatsoever. Most asked question "How do I force run cron job for debugging" and answer "You don't"

You just add script and pray it works. If it doesn't work there is nothing to work with. No logs, no checks. Nothing.

It not 1-to-1 replacement. It is superior replacement. Cron is just unusable.



> You just add script and pray it works.

All the cron issues I've had boiled down to a difference in env vars. So testing the cronjob means reproducing the environment like this SO answer explains.

https://stackoverflow.com/questions/2135478/how-to-simulate-...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: