Re: at -f working incorrectly
- From: Bill Verzal <bjverzal@xxxxxxxxx>
- Date: Thu, 30 Nov 2006 11:36:42 -0800
I always do one this when scheduling jobs:
cat shellscript |at now + {whenever}
BV
--- Mark Vitale <mark.vitale@xxxxxxxxxxx> wrote:
Dear listers,
I need help with a strange problem I'm seeing only at a customer site
running AIX 5.3. My AIX 5.3 system works correctly with the same commands.
My product writes a single-line command to a file 'atcommand', then
schedules the command using the at command -f option, like this:
at -f atcommand now +1 minutes
Just to rule out my code, I came up with a series of commands to issue
manually in an attempt to duplicate the problem.
When I issue 'at -vl' at my site, I see that the contents of the file have
been scheduled correctly:
$ at -f testatcommand now +1 minutes
job markv.1164896262.a at Thu Nov 30 09:17:42 2006
$ at -vl
========================
markv.1164896262.a Thu Nov 30 09:17:42 2006
========================
/home/markv/test.sh
But when my customer does the same at his site, he sees that the name of
the file itself has been scheduled as a literal command. Of course, this
command is not found:
dradbp01:root:/perfman/DRADBP01#cat testatcommand
/perfman/DRADBP01/test.sh
dradbp01:root:/perfman/DRADBP01#at -f testatcommand now +1 minutes
Job root.1164878298.a will be run at Thu Nov 30 09:18:18 CUT 2006.
dradbp01:root:/perfman/DRADBP01#at -vl
========================
root.1164878298.a Thu Nov 30 09:18:18 CUT 2006
========================
testatcommand
What could cause the -f option to behave this way? The customer is running
all this under root, by the way (not my idea or requirement!), so I don't
think it can be a permissions problem. I've also verified that he's using /
usr/bin/at as one would assume.
I've already searched IBM's AIX support site and the list archives but
found nothing to explain this. I am a relative newcomer to AIX, so any
help or suggestions would be greatly appreciated.
Thanks in advance,
-Mark Vitale
Senior Software Engineer
ISM - www.perfman.com
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
- Follow-Ups:
- Re: at -f working incorrectly
- From: Patrick B. O'Brien
- Re: at -f working incorrectly
- References:
- at -f working incorrectly
- From: Mark Vitale
- at -f working incorrectly
- Prev by Date: Re: nfs problem
- Next by Date: Re: EMC error
- Previous by thread: Re: at -f working incorrectly
- Next by thread: Re: at -f working incorrectly
- Index(es):
Relevant Pages
|
Loading