Problems like this usually turn out to be PATH related i.e. your script needs 
something which is not available in the PATH used by crond.  Have you looked in the 
cron log? Put debug in /etc/ppp/options and see if pppd is successfully calling chat.

At 07:49 27/04/99 -0700, you wrote:
>I can not successfully dial out using cron.
>Here's what I got:
>o  Redhat 5.2 kernel 2.2.3 pppd 2.3.5
>o  script written to dial-up: w/ #!bin/sh
>o  script successfully connects from command line.
>o  cron entry calling script.
>
>here's what happens:
>o  cron seems to execute the script ok
>   (a pppd entry shows up when i "ps a")
>o  under tty it has a ?
>o  modem sits there...
>
>I assume that is the problem, but don't know
>how to specify the terminal for a cron job.
>Or is there something else i need to be doing...
>
>thanks
>tony
>
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
>the body of a message to [EMAIL PROTECTED]
>
***************************************************
John Sutton
SCL Computer Services
URL http://www.scl.co.uk/
Tel. +44 (0) 1239 621021
***************************************************

-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to