Expand my Community achievements bar.

How to implement a service that runs once a day?

Avatar

Level 2

Hi all,

is there a service or so available that waits for example 24 hours and runs every day for example at 9:00 am?

I know there is the Wait service with the scheduleWait operation, but I can only specify days, hours or minutes. So I can not use this service to specify a time when to run. How is this possible?

Thanks in advance!

Paul

2 Replies

Avatar

Level 10

We don't have a component that does that.

The best way would probably to write a program that implements a scheduler and the calls LiveCycle when you get to that specific time.

You could also implement a custom component that does something similar to the Wait but only completes at a specific time. Once it gets to that time, you would loop back to it and wait for another 24h.

Jasmin

Avatar

Level 10

loop invoke.png

Design your process somewhat similar to the above model.

Invoke your process (only one time) at 9 AM.

This is the simplest solutions. The other way is to write a custom DSC.

Nith