Run sequence only if task is not running

Discuss Task Sequences and Scripting related issues.

Run sequence only if task is not running

Postby melvin » Wed Apr 16, 2014 7:49 pm

user support request:

We have a chain that runs every day, but we need to put a first step in the chain to make sure that a task called RunBatch is not currently running. Can you remind me how to do that?
melvin
Site Admin
 
Posts: 979
Joined: Thu May 25, 2006 10:20 am
Location: Santa Barbara, california

Re: Run sequence only if task is not running

Postby melvin » Wed Apr 16, 2014 7:51 pm

we cannot pull up previous history showing similar support request.
anyway, the best way would be to use a variable monitor task. monitor the variable RunBatch::IsRunning (false = not running)
melvin
Site Admin
 
Posts: 979
Joined: Thu May 25, 2006 10:20 am
Location: Santa Barbara, california


Return to Task Sequences, Chains and Scripts

Who is online

Users browsing this forum: No registered users and 1 guest

cron