Environment variables in crontabs
If you need to set an env var that is used for a bunch of cron jobs, you can set it once at the top of your crontab, and cron will be smart enough to make it available to all jobs specified.
PATH=/my/extra/paths/bin:$PATH
# MIN HOUR DOM MONTH DOW CMD Do something in a strange path
0 12 * * * run_this_command_that_lives_somewhere_strange -rf *
Tweet