DSjob -jobinfo
Posted: Thu Nov 01, 2007 9:48 pm
Hi,
I have a issue here when i run the job from command prompt..it's basically a shell script where i create log for every schedule run.when i give the dsjob -run command..it says status code 0..after that i give the next command to dsjob -run as dsjob -jobinfo..what it does is after a while it just puts the running status in file rather than putting the jobinfo after the job finish ...i gave a sleep command also for a miniute..there are certain job that runs fast puts as finished..like long running job says running..which i don't understand..as status code for the dsjob -run say 0..meaning the job runs ok or finished..pls help me out with that....
I have a issue here when i run the job from command prompt..it's basically a shell script where i create log for every schedule run.when i give the dsjob -run command..it says status code 0..after that i give the next command to dsjob -run as dsjob -jobinfo..what it does is after a while it just puts the running status in file rather than putting the jobinfo after the job finish ...i gave a sleep command also for a miniute..there are certain job that runs fast puts as finished..like long running job says running..which i don't understand..as status code for the dsjob -run say 0..meaning the job runs ok or finished..pls help me out with that....