Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

batch in AIX does not run

Status
Not open for further replies.

JoseDeMadrid

Technical User
Oct 9, 2001
2
ES
Dear all,

The batch command in my AIX system does not work.

The queuedef, at.allow, etc.. seem to be properly configured. When I launch in batch ( for example batch ls -l &) the instrucction enters in the queue b (I can see it with at -l), but it never runs, it remains stalled.

Any idea would be appreciated very much.

Thanks in advance,

José Luis
 
Hola! This might not be related but cron requires an environment of sorts to be passed to it. This is sometimes done by adding . /<user_home>/.profile (note space between . and /) early in the script to be called, so that the user's .profile is executed and all the correct PATHs etc set up. It's possible that the at command requires the same and this may be why your script isn't executing. Try adding the .profile as above and give it a go. Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top