Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Semaphore with powershell

$
0
0

Hi guys,

i have to implement a semaphore with powershell, but i have a problem:

I have two job, and if the job1 is not completed the job2 shuoldn't start. I do a infinite cicle to read the state of job, but it don't update the state, so the job never start.

i redirect the output to a file, but i would know if there is a way to do that.

Thank so much

Cristian


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>