We have a process we run using cron every 3 minutes. This process basically processes a queue. Sometimes lots of items appear in the queue and we want to stop the process, empty the queue and restart ...
Have you ever wanted to force a script to act differently when it is invoked by cron? If the script is run interactively, for example, you might want the script to prompt the user for some information ...
When cron sends an email it's in this format:<BR><BR>from: Cron Daemon<BR>subject: Cron <root@borg> /data/scripts/cron/backupconfig<BR>body: (output of script)<BR><BR ...