linux - Where can I set environment variables that crontab will use? - Stack Overflow
[https://stackoverflow.com/questions/2229825/where-can-i-set-environment-variables-that-crontab-will-use] - - public:mzimmerm
In cron, use ``` 0 * * * * bash -l -c 'sh /my/script.sh' ``` The -l makes bash act as login shell - that is, read the owner's ~/.bash_profile (which generally reads .profile)