Simulate cron environment
July 11, 2016
Add this to your cron:
* * * * * env > ~/cronenv
Then start a new shell using does environments:
env - `cat ~/cronenv` /bin/sh
Add this to your cron:
* * * * * env > ~/cronenv
Then start a new shell using does environments:
env - `cat ~/cronenv` /bin/sh