Skip to content

[Bug][Cronjobs] Devlake engine does not respect cronjob schedules #7640

@AlexPerkbox

Description

@AlexPerkbox

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

Cronjobs are no longer considered and blueprints do not run recurringly based on a schedule.

E.g. This blueprint is supposed to run daily at midnight (3:00AM my local time) but it did not on June 14, 17, and 19.
{ "name": "DevOps-Demo-Blueprint", "projectName": "DevOps-Demo", "cronConfig": "0 0 * * *", "createdAt": "2024-06-12T09:50:01.797Z", "updatedAt": "2024-06-12T09:50:27.466Z" }
image

Other than that, there are some 400 odd blueprints and when changing cronConfig (using API) only a handful of them actually get triggered (although they return 200 OK).

Running devlake-1.0.0-beta11 on AWS ECS/RDS and byog (bring your own grafana)

What do you expect to happen

Whenever a cronjob is updated a pipeline should trigger at the specified date and time.

How to reproduce

Update cronConfig setting either via UI or API and monitor behaviour.

Anything else

No response

Version

devlake-1.0.0-beta11

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/frameworkThis issue or PR relates to the frameworkseverity/p1This bug affects functionality or significantly affect uxtype/bugThis issue is a bug

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions