Re: Output from at job
on 01/07/2010 12:04 AM Adriaan wrote the following: 2010/1/6 Thanasis thana...@asyr.hopto.org: When we get a message like the following, is there a way to see _what_ was in that job? Your at job on hostname /var/cron/atjobs/1262799360.c produced the following output: /bin/ksh: stdin[3]: no closing quote The answer is can be found in the man page for at(1) $ at -c 1262799360.c I knew that, but after the job executes, the 12c doesn't exist anymore. You can check the error before submitting with: $ sh -nv myatjobfile Adriaan If there is a file yes, but if the job is created interactively, there will be no file except the one in atjobs dir until the time it executes. Thanks.
Re: Output from at job
on 01/07/2010 12:27 AM Joachim Schipper wrote the following: On Wed, Jan 06, 2010 at 11:04:41PM +0100, Adriaan wrote: 2010/1/6 Thanasis thana...@asyr.hopto.org: When we get a message like the following, is there a way to see _what_ was in that job? Your at job on hostname /var/cron/atjobs/1262799360.c produced the following output: /bin/ksh: stdin[3]: no closing quote The answer is can be found in the man page for at(1) $ at -c 1262799360.c You can check the error before submitting with: $ sh -nv myatjobfile Yes, but neither is terribly useful after the command has been executed (and errored out). True. I'm not aware of anything that helps, short of restoring /var/cron/atjobs from backup. Joachim I think I will try a cron job to backup the atjobs dir. Thanks.
Re: Output from at job
2010/1/6 Thanasis thana...@asyr.hopto.org: When we get a message like the following, is there a way to see _what_ was in that job? Your at job on hostname /var/cron/atjobs/1262799360.c produced the following output: /bin/ksh: stdin[3]: no closing quote The answer is can be found in the man page for at(1) $ at -c 1262799360.c You can check the error before submitting with: $ sh -nv myatjobfile Adriaan
Re: Output from at job
On Wed, Jan 06, 2010 at 11:04:41PM +0100, Adriaan wrote: 2010/1/6 Thanasis thana...@asyr.hopto.org: When we get a message like the following, is there a way to see _what_ was in that job? Your at job on hostname /var/cron/atjobs/1262799360.c produced the following output: /bin/ksh: stdin[3]: no closing quote The answer is can be found in the man page for at(1) $ at -c 1262799360.c You can check the error before submitting with: $ sh -nv myatjobfile Yes, but neither is terribly useful after the command has been executed (and errored out). I'm not aware of anything that helps, short of restoring /var/cron/atjobs from backup. Joachim