3 ms·
> 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 env
by Frotag 2y ago
> 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-the-environment-cron-executes-a-script-with https://stackoverflow.com/questions/2135478/how-to-simulate-...