Deki
Posts: 0
Joined: Tue Apr 15, 2014 4:53 pm

How to execute service based on time/date every day

I need to execute some logic at a specific time/date every day. For example, execute a service every day at 09:00 in the morning. I also need this to be active even if the app is closed/minimized. I've looked at var mytimedfunc=setInterval("javascript function",milliseconds); but I'm not sure if that would execute in the background if the app is not running. Is there any other way to do this task in Appery?

Thanks

Bruce Stuart
Posts: 0
Joined: Fri Oct 24, 2014 4:42 am

How to execute service based on time/date every day

Hello Deki,

I would suggest you look at Server side code. This allows you to run a script against your collections based on a condition - and execute at a specified time or intervals throughout the day.

Here's a quick link to the documentation:

https://devcenter.appery.io/documenta...

Best,

Bruce

Return to “Issues”