in reply to
Detecting cron
AH AH! Thank you Tommy.
Regardless of what is run from cron, the $SHELL will be set to /usr/bin/sh. So, all I need to do is look at %ENV{SHELL} and compare and away I go!
Comment on
Re: Detecting cron
In Section
Seekers of Perl Wisdom