Back

Appwrite Cron Scheduled Function Executes Randomly

  • 0
  • Functions
  • Cloud
Aarush Acharya
26 Nov, 2023, 05:06

It isn't happening at the current moment but 2-3 days earlier, the corn scheduled function started executing absolutely randomly while we have scheduled it to run for every 5 minutes using the Cron Expression

It started running timely after somewhile but that glitch still did exist... currently We are in development stage of the application and about it shift to Beta Testing we are concerned if this would happen again in production stage .... While the app has a certain user base

Wishing to inquire more about that and the nature of corn scheduled functions at Appwrite

TL;DR
The user's app is experiencing issues with their Cron scheduled function in Appwrite. The function has been running randomly instead of every 5 minutes as specified in the Cron Expression. The user suspects that recent high load may be the cause of the delay. They are currently in the development stage of their application and are concerned about this issue happening in the production stage. They are seeking more information about Cron scheduled functions in Appwrite. Solution: No solution is provided in the thread. The user is seeking further information.
Drake
27 Nov, 2023, 16:49

are you on cloud or self-hosting?

Aarush Acharya
27 Nov, 2023, 18:43

I am on Cloud

Drake
27 Nov, 2023, 19:10

There was some high load recently so that could have been related

so your jobs get queued according to the schedule, but the high load may have caused it to be delayed.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more