Skip to content

Feature Request: Enable Activation/Deactivation and Execution Window for Cron Jobs #3

@enniosousa

Description

@enniosousa

Hello, thank you for the great work on this extension!

I'd like to propose a feature enhancement to support enabling or disabling (or pausing) cron jobs, as well as the ability to define an execution start and end datetime window for each job.

This would allow users to:

  • Temporarily pause a scheduled job without deleting it.
  • Define a future start time after which the job becomes active.
  • Optionally set a stop time after which the job will no longer execute.

This behavior is similar to what's available in Google BigQuery scheduled queries:
https://cloud.google.com/bigquery/docs/scheduling-queries#set_up_scheduled_queries

Suggested parameters:

  • add new status (e.g.: disabled)
  • starts_at (nullable timestamp): If defined the job will only execute after this datetime otherwise run immediately.
  • ends_at (nullable timestamp): if defined the job will not run after this datetime otherwise never stop.

These controls would greatly improve flexibility and use cases in time-sensitive data workflows.

Thanks again for the work on this extension!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions