Thank you very much, your JAL script works very well and now the jobs run only when they are executed on PC2 ! :-) : What you can do is converting that job to a script type job (JAL or VBScript) : and making it to check on the start up name of the computer running the : job. For example, in case if the name isn't PC1 then simply abort the job, : otherwise run the required processing. : Here is an example JAL script (similar thing can be done in VBScript) : // check PC name, exit if not PC1 : Dim run_it, boolean : IsEqual "PC1", "@V"computer"", run_it : IfThen run_it, RUN_JOB : // if we are here then computer name is not PC1... abort the job : Exit : RUN_JOB: // run the actual job : Dim process_id, number : RunAndWait "c:\\programs\\some_batch.bat", "", 0, : process_id
|