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
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?
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
Summary: Hi, i think he / she meant how to do it under DOS respective Windows NT. Under Windows NT, it's the AT command which could be seen as a cron daemon for Windows. ;) Unfortunately I don't know how to us...
Summary: Hi All, I am trying to schedule a one time job using the at command with the help of shell script for my project. The shell script should take a parameter as a command line argument from the at com...