3 ms·
Running a cron job that writes out it's environment and then running the job I'm testing in that environment has always worked pretty well for me. A hassle, but
by cmiles74 10y ago
Running a cron job that writes out it's environment and then running the job I'm testing in that environment has always worked pretty well for me. A hassle, but I've had good luck.
- therein 10y agoI was about to suggest the same. Just have your cronjob dump its environment for you so that you can simulate it more accurately.