Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Running command at shutdown



Also sprach Birgit & Andreas Böttger zu "17.06.2004 19:44" Anno Domini:
Btw:
echo /usr/local/src/GETXML/getbbc.sh | at now > /tmp/getbbc.sh.out 2>&1
                                                ^^^^^^^^^^^^^^^^^^
is better to get the output.
Yeah!
But only for the output of the at command, for scheduling the task! If you want to get the output of getbbc.sh, try

echo '/usr/local/src/geTXML/getbbc.sh >/tmp/getbbc.sh.out 2>&1' | at now

But don't forget, that most linux distributions clean up /tmp on boot, so maybe better use /root/getbbc.sh.out as log file name if you want to run this command on shutdown!

Just my 2 Eurocent!
--
Patrick Cernko | mailto:errror@errror.de | http://www.errror.de
Quote of the Week: "printk("VFS: Busy inodes after unmount. "
"Self-destruct in 5 seconds. "
"Have a nice day...\n");"
(2.3.99-pre8 /usr/src/linux/fs/super.c)

Attachment: signature.asc
Description: OpenPGP digital signature


Home | Main Index | Thread Index