According to Aaron Scott: While burning my CPU.
> 
> Anyone know if there is a way the view in realtime the output of a cron 
> job?

Yes, redirect the output to a file or console, futher more i suggest you
read 'man crontab' and 'man crond'. You will find an example or two there.

Regarding a redirect to a tty, take the following as a basic example.

0,5,10,15,20,25,30,35,40,45,50,55 * * * * echo "Cron did this" >/dev/tty8

The message "Cron did this" will be written to console F8 every 5 minutes.

Note the redirect ">/dev/tty8" if you run scripts and want the output to go
to a file then use ">>" to append and not overwrite.

Cron can be made to mail its output, cron can be made to send its output to
a logfile, its all in the man pages.

> 
> Aaron
> I hate circus clowns because they are indifferent to national emergencies--JF
> 


-- 
Regards Richard.
[EMAIL PROTECTED]

Reply via email to