Start a timer on the server that will delete a row upon timeout

0 votes
Hello

I am using App42 and I have setup storage service. Is there a way in which I can setup a function call on the server in which I can call, it will start a timer and upon timer expiry it will delete a specific row from the the storage service?

Basically I want to insert a row into the storage service and have it deleted after specific elapsed time.

 

I hope this is possible

Thanks
asked Feb 8, 2015 in App42 Cloud API-BaaS by AndroidFolk (107 points)

1 Answer

0 votes
 
Best answer

Hello AndroidFolk,

 
You can achieve your objective by two ways:
 
1. You can simply write a custom code & schedule it for the time which you want to set for all this process from the dashboard
 
2. You can use our timer service to start a timer on server and when the time expire, you can do operation for all this process.
 
Please have a look & let us know if it helps.
Thanks,
Himanshu Sharma
answered Feb 8, 2015 by hs00105 (2,005 points)
edited Feb 9, 2015 by hs00105
Thank you, option 1 seems the most feasible. I want to call it from a device. Can multiple devices call the custom code at the same time? I mean are requests executed in parallel?
Yes you can call custom code from multiple devices at the same time.
Thanks,
Himanshu Sharma
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
...