In order to provide a more consistent experience with the System Center product family, we've moved the Orchestrator blog to another blog at http://blogs.technet.com/b/orchestrator. Be sure to go there for all the latest info!
I answered my first Opalis question in the forums today. And sure enough, it’s something that would make a good article. The reason is because in describing Opalis workflows, sometimes it’s helpful to see an actual picture of the workflow and how it’s created. You just can’t insert pictures (easily) in the forum posts. So, I thought I’d use this article to provide more detail.
Here’s the scenario: You have a script that needs to run on your computer(s) at 10 minutes and 40 minutes past the hour, every hour, except between the hours of 2am and 4am. How do you do this?
Here’s my answer: Opalis is not meant to be a sophisticated scheduling utility. The scheduling functionality in the product provides some basic usage scenarios, but more complex scenarios, even though they can be done, take a little more work.
There are two parts to scheduling: the global Schedules Templates and Schedule Objects.
Here’s how you would build a policy to solve this scenario:
Your policy should look like this:
Now every 10 minutes, the monitor will fire, and if the interval is at 10 minutes or 40 minutes past the hour, the link will allow passing the workflow to the Check Schedule object. If it's not between 2am and 4am, it will succeed and then kick off the Run Program task.
In reality, this sounds a lot harder than it is. It's really just a couple more steps but is still intuitive if you're looking at the workflow. No weird scripting or anything needed.
Well that wasn’t too hard, was it? Maybe I should create a video of this too for those of you that want a little more animation :)