Sometimes scripts aren’t working in cron, but they’re working manually. To debug them it’s helpful to simulate their running under cron environment.
add this to cron and let it to run at least once
* * * * * env > ~/cron_env
run this command to simulate environment:
env - `cat ~/cron_env` /bin/sh
My main background for a recent years is MySQL DEV/DBA engineer but I’m also participating in wider range of tasks which could be likely called as DataOps/DevOps tasks. You can see my online CV here: http://catyellow.net