ID #1023

Can I execute more SJA jobs at the same time?

 

Well, Yes you can. Absolutely no problem in doing so.


But the result of it may be unpredictable in cases where one or more of the jobs alter data. In that case it probably would be better to build a .bat file, and execute this instead. Such a .bat file could look like:

 

SJA my_importjob.xml
SJA my_notifyjob.xml
SJA my_syncjob.xml
SJA my_backupjob.xml

 

This example will start the job as described in the file my_notifyjob.xml when the job described in my_importjob.xml has finished executing and so on. If you don't want Windows to wait starting each job until the preceding one has finished you can use the call command like

 

call SJA my_importjob.xml
call SJA my_notifyjob.xml
call SJA my_syncjob.xml
call SJA my_backupjob.xml

 

And this 'hybrid' example'

 

SJA my_importjob.xml
SJA my_notifyjob.xml
call SJA my_syncjob.xml
call SJA my_backupjob.xml

 

waits for the notify-job to finish. After that the sync-job and the backup-job are executed in parallel.

 

Tags: -

Related entries:

You can comment this FAQ