Search code examples
cron

How can I use variables in my crontab entries?


How can I store variables in my crontab? I realize it's not shell but say I want to have some constants like a path to my app or something?


Solution

  • To keep my crontab clean, I would just call a shell script and do the fun stuff in the script.