Hello all,
I'm lost and hope someone with a clue can help me out.
If I do :
test.txt will contain the results from the command ls, no probs.
similary if I do :
to see a list of scheduled jobs, test.txt contains the results as expected.
But... and here's my problem, if I do :
Code:
at -m -f myscript.sh now > test.txt
(to schedule my script) the output to the screen is :
Code:
warning: commands will be executed using /bin/sh
job 641 at 2006-02-28 13:35
But test.txt is empty!
How can I capture the output from the latter AT command, could the warning message be the reason that it is not sent to the file?
Hope someone can help, I'm really stuck with this.
Thanks.