Crontab
Page content
Troubleshooting Crontab Problems
Dump the Environement
add this line to root’s crontab
* * * * * env > ~/cronenv
Load the Environement
env - `cat /var/log/cronenv` /bin/sh
Run your script
./script_with_env_problems.sh
and check it’s output …
Any Comments ?
sha256: de1667fb4003135420244f48280d72e03d7559b675ab6b4a9c020b0725866525