Back

Function CRON

  • 0
  • Flutter
  • Functions
katskoru
23 Jun, 2023, 12:14

Hi, I have a problem with functions that have CRON. Despite adding schedule to function data in appwrite.json and deploy it, CRON file doesn't work. This has been happening since the docker reset every 24h file was added to the project. It was added due to a different problem and on advice from here. Is there any solution to this problem? Appwrite version is 1.2.0.

TL;DR
The user is facing an issue with functions that have a CRON schedule. They mention that the CRON file stopped working after a docker reset was added to the project. They ask if there is a solution to this problem. The solution is not mentioned in the thread.
Binyamin
23 Jun, 2023, 13:40

What you mean reset? What have you changed so it stopped worked?

Also, can you share the CRON settings in the function settings screen in the console.

katskoru
26 Jun, 2023, 09:56

the docker reset command is executed every 24 hours.

katskoru
26 Jun, 2023, 09:57
Drake
26 Jun, 2023, 18:50

I don't think there's a docker reset command 🧐

Drake
26 Jun, 2023, 18:52

Also I don't quite understand how docker commands would work in the runtime container 🧐

katskoru
27 Jun, 2023, 09:54

Yes, that's right, it's not a docker reset command. This is one part of the answer to Binyamin's question about function settings.

Drake
27 Jun, 2023, 12:03

But what do you mean by docker reset?

Binyamin
28 Jun, 2023, 13:19

Do you mean that the cron schedule is being reset?

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