nesting jobs in Altiris DS 6.9

havar's picture

Hello,

I want to call an existing job in a job in DS6.9

Here is why :

I create jobs to install applications
like e.g. "acrobat reader".
If i can call a job called "acrobat reader 7.0" in this job, I can make a sequence of jobs to create a server.

If there comes a "acrobat reader 8.0" I only have to create a job for the 8 version and modify the "acrobat reader" job to update the server build.

Is this possible and what is the syntax ?

You can make a folder like "citrix server build"
with jobs like
"01 - acrobat reader"
"02 - flash player"
"03 - microsoft office"
"04 - microsoft visio"

...and determine in the jobs wich version (job) wil be done.

Hans.

spazzzen's picture

That is how our deployment process is done

I created the deployment jobs and I use what I call a forwarding script. All it is, is a job with a bunch of run script commands that do nothing and are run locally on the DS.

Create the job and addd a run script task. I put a REM command to describe what it is forwarding to and click next, and then set it to run locally on the server and uncheck the when client is connected and click next. On this last page is where you set up what I call forwarding. Change the on success to run a specified job and point it to the job you want to run.

Add a bunch of these scripts to one job and it will run each on in order. You can always just do this for each individual job, but then you can't run that job by itself without it going to the other job, which is why I use a job to do all the fowarding.

Just be warned that if you forward twice it may cause problems. Like I said I have the main job to forward to the install jobs. My install jobs have conditions for each os/bit and the conditions have forward scripts in them as well. If there is only one task in the job that also fowards, it will not run the second foward until the original job completes. The fix was to put an empty run script in the job as well to keep all the jobs running in order. You will not have this problem though if you are only going to forward directly to the install job. That is how ours was originally set up.

havar's picture

Thanks ! I will work this out

Thanks !

I will work this out !!

RaymondValle's picture

it worked

I tried it and it worked.