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 ...
I have a script that i am using to move data around called from cron. I would like to have the ability to differentiate between being called from cron and being called from command line, so i can ...