Written by

Senior Cloud Architect at InterSystems
MOD
Question Eduard Lebedyuk · Nov 14, 2019

Scheduling Business Services

I have several Business Services which I need to run once on each trigger.

Trigger can be either:

  • Specific time (so once a day, every day)
  • Specific day (so once a month, every month)

For the time, it would be stable (i.e. 0100), but the second case varies - one month it could be 10th, another month - 12th.

After each run I want the service to turn off, so that all the time the service is not running it would be colored grey in Production Management Page.

I plan to use Task Scheduler,but open to suggestions.

Thoughts? Ideas? Code?

Comments

Jenna Makin · Nov 14, 2019

Task manager seems very appropriate here.

VA is doing some of this with their productions.   Auto disabling services after one execution.

0
Neerav Verma · Nov 15, 2019

Yes , that's what I would do and have done in the past.

Basically have the task routine trigger the service

0