>It simpley doesn't work. I can't make crontab execute any command. The
>pppon I use to get on the Net works when started manually, via the crontab
>I get an erromessage it doesn't exist. I tryed your way which also doesn't
>want to work on my box. Another thing I don't understand is why the
>results of commands started with crontab are mailed to me instead of
>executed and shown on the screen? I did a small test with ls /home/... in
>crontab and I got the result mailed... Basically, at this point I don't
>understand why a simple thing like calling the ppp-on via crontab doesn't
>work; not as user (manually it does) and not as root!
>Zoki.

Excuse me, but how is cron supposed to display something on the screen?
It isn't attached to any terminals, so anything to stdout/stderr goes into
the bit bucket.  To see the results of stderr/stdout, one has to tell cron
what to do with it.  That is why the uptime line's output was piped into mail.
You could send the output into a file, if you so desired.

MB
-- 
System Administrator - Finnigan FT/MS - Madison WI. URL:http://www.ftms.com/
e-mail: [EMAIL PROTECTED]               [Oooohhh, I need a hug]
phone: (608) 273-8262 ext: 612  fax: (608) 273-8719
Visit - URL:http://www.vidiot.com/  (Your link to Star Trek and UPN)


-- 
  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