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.

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.


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.

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

OH okay :slight_smile: