Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

0 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