September 30, 2004

Tip for accidental programmers

Say you're writing a script, in Perl for instance, that calls a program on the system. The script works fine when you run it manually but when it's scheduled to run via cron, the program isn't called. Check to see if you used the full path to the called program. Chances are the script will not have a $path to check when run via cron.

Posted to UNIX by extra88 at September 30, 2004 01:36 PM | TrackBack
Email this entry to:


Your email address:


Message (optional):


Comments
Post a comment









Remember personal info?