> ->I missed whether or not you had the following line in your script:
> ->
> ->#!/bin/sh   <---The first line. Nothing above it at all.
>
> The problem is not the script - since it works when invoked
> manually - but
> the fact that it doesn't want to fire up the modem when
> called through
> cron. I'm using the ppp-on, ppp-on-dialer and ppp-off
> scripts to make the
> connection. Isn't the problem maybe there?

Actually, the problem is the script.  When you do "sh <filename>" from
a command prompt, you are explicitly telling Linux what shell to use.
For the script to work from crontab, you have to be able to type
"<filename>" (no alias for sh) to run the command from a prompt.  To
make this happen, you MUST put "#!/bin/sh" as the first line of the
script.

=====================================================================
// Chris Giard (a.k.a. Slyglif Cain)       | I find my life is a lot
// EMAIL: [EMAIL PROTECTED]            | easier the lower I keep
// URL:   http://www.primenet.com/~slyglif | everyone's expectations.
// ICQ:   4481627                          |   --Calvin 1992



-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to