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