8000 🐛 Bug Report: Schedule function with minutes does not work · Issue #5719 · appwrite/appwrite · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
🐛 Bug Report: Schedule function with minutes does not work #5719
Closed
appwrite/console
#553
@jbdujardin

Description

@jbdujardin

👟 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 à 23 55 35

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

Capture d’écran 2023-06-16 à 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?

Metadata

Metadata

Labels

bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is neededproduct / consoleConsole, UI and UX issuesproduct / functionsFixes and upgrades for the Appwrite Functions.

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0