On Thu, Oct 9, 2008 at 6:31 PM, Girish Venkatachalam <
[EMAIL PROTECTED]> wrote:
>
> cron(8) cannot use STDIO, STDOUT or STDERR. All point to /dev/null.
>
Know this and precisely the reason why piping to logfile was used.

>
> So it is AFAIK impossible to run interactive programs using cron.
>
> First check whether your script works in a batch fashion rather than
> interactive. Then you can get it working with cron.
>
> Of course you need to give full path for 'networksetup'.
>
Looks like this is the clue. Works. Thanks a ton.

Mohan
_______________________________________________
To unsubscribe, email [EMAIL PROTECTED] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to