Backendless Support
 
Answered

Timer scheduled code not executing completely

My deployed code inside 'execute' method does not run to completion. When I debug the code using CodeRunner, it works perfectly. Is there a time limit of execution for free backendless users?

For more information: what the deployed code does is it synchronously reads and writes to a table. The whole operation takes about 2 - 10 minutes.

Leave a Comment

Comments (4)

photo
1

Hi Amanuel,

The runtime limit is 5 seconds. If your code takes 2-10 minutes, you would not be able to run it in our shared Cloud environment - the most it can be extended to is 20 seconds.

The Backendless Pro and Managed Backendless options have much higher limits, but they are not free and targeted mostly at enterprise customers.

Regards,

Mark

photo
1

Thanks but It would be good if you write this somewhere(console or documentaion) as a warning for free customers. I have wasted hours trying to get this to work.

photo
1

I am sorry you could not find it. It is actually right on the website:

99bb7c320c1febeab0fedfbb9e1e8546

photo
1

OH okay :)

photo