appwrite: πŸ› Bug Report: Schedule function with minutes does not work

πŸ‘Ÿ Reproduction steps

I create and deploy a function with cron schedule 30 1 * * * :

{
            "$id": "update-fixtures",
            "name": "Update fixtures",
            "runtime": "dart-2.17",
            "path": "functions/update-fixtures",
            "entrypoint": "lib/main.dart",
            "ignore": [
                ".packages",
                ".dart_tool"
            ],
            "execute": [],
            "events": [],
            "schedule": "30 1 * * *",
            "timeout": 60
},

The function is deployed and build successfully but the schedule is not active despite the cron is visible on the function settings :

Capture d’écran 2023-06-16 aΜ€ 23 55 35

If I try to modify the value on the console, there is an error :

Capture d’écran 2023-06-16 aΜ€ 23 57 39

I also try to edit the value on the json and redeploy the function but no schedule active ☹️

If I set * * * * * or 0 1 * * * , there is no problem, only when minutes are other than * or 0.

πŸ‘ Expected behavior

The function is executed with the cron value on the Schedule part (with minutes on the cron value).

πŸ‘Ž Actual Behavior

The function is not executed and the schedule is not active (no clock on the bottom right).

🎲 Appwrite version

Version 1.3.x

πŸ’» Operating system

MacOS

🧱 Your Environment

Appwrite version 1.3.7 CLI version 2.0.2

πŸ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn’t find similar issue

🏒 Have you read the Code of Conduct?

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 3
  • Comments: 16 (6 by maintainers)

Most upvoted comments

@KanniShashankh let’s just focus on fixing the bugs and supporting standard syntax