Page 1 of 1

How to execute service based on time/date every day

Posted: Thu Apr 23, 2015 1:34 pm
by Deki

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


How to execute service based on time/date every day

Posted: Thu Apr 23, 2015 6:29 pm
by Bruce Stuart

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