How to run my EPL service code block at a certain time period

Product/components used and version/fix level:

Cumulocity Production

Detailed explanation of the problem:

Hi, I would like to know if I can run my EPL service as a scheduled service. My use case is I need to perform some calculations at the end of the day. Could you point out any documentation or any example for the same?

Thanks,
Samanyu

Hi,

you can take a look at Apama Timers: https://cumulocity.com/guides/apama/advanced/#timers

You can also trigger listeners based on time. You can either trigger in a certain interval, for example, fire every 5 minutes (300 seconds). Or you can have a listener fire at certain times of the day, with similar functionality to Unix’s cron scheduler.

2 Likes

Thank you so much for the documentation. :slight_smile:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.