Variables in crontab?
In Vixie cron, which is possibly the most common, you can do this almost exactly like a shell script. VARIABLE=value PATH=/bin:/path/to/doathing 0 0 * * * doathing.sh $VARIABLE The man page says: An active line in a crontab will be either an environment setting or a cron command. An environment setting is of the form, … Read more