[newbie] BASHing My Crontab

1999-10-12 Thread BryanMoorehead
Hey Scripting Gurus, I set up a crontab for root to run a script. The script was written for bash. I found out that cron runs under sh? When the job kicks off, it can't find ifconfig or grep, which are part of the script. Email is sent to root "ifconfig : command not found" "grep :

Re: [newbie] BASHing My Crontab

1999-10-12 Thread yacketta
From: Ronald A. Yacketta have you but a #! /bin/bash (or is it !# dang I forget) at the very top of the script? also try gicing the full path to the command IE: /usr/sbin/ifconfig /bin/grep (above paths could be wrong, just giving examples)

Re: [newbie] BASHing My Crontab

1999-10-12 Thread Simon Norris
PROTECTED] Sent: Tuesday, October 12, 1999 1:26 PM Subject: [newbie] BASHing My Crontab Hey Scripting Gurus, I set up a crontab for root to run a script. The script was written for bash. I found out that cron runs under sh? When the job kicks off, it can't find ifconfig or grep, which

Re: [newbie] BASHing My Crontab

1999-10-12 Thread BryanMoorehead
/99 09:22:43 AM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: Bryan Moorehead/Link/Allied Holdings) Subject: Re: [newbie] BASHing My Crontab From: Ronald A. Yacketta have you but a #! /bin/bash (or is it !# dang I forget) at the very top of the script? also try