Delayed execution

Hey,

I have a Custom Business Logic that does some stuff updating a table and sending a pub/sub message.
But then after a delay of like 10 seconds I would need to clear that table and send some other message.
So I tried using Thread.sleep() but obviously not working because it runs out of execution time.
I thought of dispatching an event but I don’t see any way to do it with a delay.
Are there any possibilities to achieve this?

Thanks in advance!

Hi Steven,

The most frequent execution interval supported by Backendless timers in the free tier is 60 seconds. However, you can shorten the frequency by purchasing the following function pack, which will let you run a timer every second:
http://support.backendless.com/public/attachments/73beaea14a503e40b3b953675e462d94.jpg</img>

Regards,
Mark