On 6 Nov 2003 07:34:18 -0800,
asioli@libero.it (Paolo Asioli) wrote:
>Hello,
>
>I'm having the following problem, maybe someone will be able to help
>me:
>
>I have a SCO Openserver 5.05 machine which stopped executing at jobs.
>
>When I use the at command:
>at now + 2 minutes
>ls -la
>Ctrl-D
Wrong. cron needs to have a "controlling terminal" in which it can
send its output. The default is to either eat the output or send it
gift wrapped via email. Check your root email.
Try it this way:
at now +2 minutes
date > /tmp/date.out
<ctrl>D
The contents of the /tmp/date.out file will be when cron executed the
at command. If you wanna see output on a terminal, try it this way:
at now +2 minutes
ls -al | /usr/lib/lponlcr > /dev/tty01
<ctrl>D
Whatever you do, don't run anything from the "at" command that
requires a keyboard command or keyboard input to terminate. It will
run forever until you kill the job.
--
# Jeff Liebermann 150 Felker St #D Santa Cruz CA 95060
# 831.336.2558 voice
http://www.LearnByDestroying.com
#
jeffl@comix.santa-cruz.ca.us
# 831.421.6491 digital_pager
jeffl@cruzio.com AE6KS