Good day!

AFAIK, all output and error prompts generated by the cron table are sent to
the mail of the user by default.  Unless you redirect the output somewhere
else, you will get your output on your mail.  You may try the following
line:

1 * * * * /dir/test.scr > /dev/tty7

on your cron table.  That way, every minute, the /dir/test.scr command will
run and send all its output on /dev/tty7 ( the GUI display (?) ).

Test it and tell me if it works. =)

PENGUIN POWER!!!!!!!!!!!!!!!!!
Nyek!

----- Original Message -----
From: "John Paul Tomas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 13, 2002 5:11 PM
Subject: [plug] running a script using crontab


> Good Day to all!
>
> I wanna run a shell script at 7 AM and 5 PM in the afternoon, I have been
> testing crontab but its now working.......
>
> I made a simple script just to test if tis working . It will run every
> minute.
>
> i typed crontab -e
> then put
> */1 * * * * /dir/test.scr
> save
>
> make /dir/test.src
> then put
> ls -la
> save
>
> chmod +x /dir/test.scr
>
> thats all.....did i missed something.....
> please advice.
>
>
>
>
> _
> Philippine Linux Users Group. Web site and archives at
http://plug.linux.org.ph
> To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
>
> To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to