Simulate cron environment

Add this to your cron:

30 08 * * * env > ~/cronenv

After it runs, do this:

env - `cat ~/cronenv` /bin/sh

via https://stackoverflow.com/questions/2135478/how-to-simulate-the-environment-cron-executes-a-script-with