[H-GEN] Output from your job 160 (fwd)
Craig Eldershaw
ce at comlab.ox.ac.uk
Sun Oct 11 01:19:35 EDT 1998
>if I put it in an "at" command, to form part of my alarm clock,
>nothing happens to the cd.
>
>Does anyone know why this would be the case for an awk script?
I suspect (don't know) that jobs run using cron/at/etc are
automatically given an input of /dev/null. awk (which is designed to
process standard input) may detect this and do something silly. Try
running the script manually with input fed from /dev/null see if that
works. Also, try running it with gawk rather than mawk - see if that
makes a difference.
Cheers,
Craig.
More information about the General
mailing list