Computing.Net > Forums > Unix > at command

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

at command

Reply to Message Icon

Name: nauj
Date: November 11, 2004 at 01:35:08 Pacific
OS: AIX 5.1
CPU/Ram: IBM
Comment:

Hello,

I'm executing jobs in an AIX machine using at command.
I konw how to execute a job in a date or in a time, but now I want to execute a job when other job finish. That is, execute job1 and using at command execute job2 when job1 finish. is it possible??? if not...any other way of doing the same without at comand?

Any advice will be greatly apreciatted

Nauj



Sponsored Link
Ads by Google

Response Number 1
Name: frank dolivka
Date: November 11, 2004 at 01:56:13 Pacific
Reply:

Hi,

why do you not call the second program from
the first one ?

Anyway, you can create a ok flag file
with the first script after finalized.
Seconde script check if the ok flag file
exist and starts the work.
If it does not exist just sleep and check
again.

Cheers Frank Dolivka

Regards
Frank Dolivka
No Risk No Fun


0

Response Number 2
Name: David Perry
Date: November 11, 2004 at 05:09:50 Pacific
Reply:

command1 && command2

will execute command2 if command1 completes without error.

command1 || command2 will execute comand2 if command1 errors out


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


resin's listening port Server performance



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: at command

AT commands for D-Link modem www.computing.net/answers/unix/at-commands-for-dlink-modem/3622.html

how to send net send daily at a certain www.computing.net/answers/unix/how-to-send-net-send-daily-at-a-certain-/2346.html

Unix at / cron problem help www.computing.net/answers/unix/unix-at-cron-problem-help-/7291.html