TimerService Timername

0 votes

Hi, App42 support team:

   I want to start a timer in the cloud, and excute a timer function every 1 hour.

  So I plan to use the timerservice.

timerService.CreateOrUpdateTimer(timerName, 3600, new UnityCallBack()); 

but wha't is timerName?

How to finish my funciton?

Thank you!

asked Aug 19, 2014 in App42 Cloud API-BaaS by riovoxtools (45 points)

1 Answer

0 votes
 
Best answer

Thanks for writing to us.

The timer name is basically the identity of the time which is saved in the App42 data base. It will be used in multiple cases like you want to activate a timer for specific user, or cancel it or at the time of timer deletion, you will require a timer name.  

About your second query of finishing the function, when you call the start timer function, your timer is going to activate for 1 hour and finished automatically.

If you want to run this function every hour, please use custom code and schedule it for every hour from AppHQ Management console.

Let us know if it helps

 

answered Aug 19, 2014 by hs00105 (2,005 points)
selected Aug 26, 2014 by riovoxtools
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...