Skip to content

Support for CRON_TZ #1362

Open
Open
@Jay-zs

Description

Is your feature request related to a problem? Please describe.

  • Cron jobs interacting with servers in non-UTC timezones, especially those affected by daylight saving time, require manual updates to cron schedules to ensure they remain operational.

Describe the solution you'd like

  • There should be an option to specify the timezone against which the cron schedule will be evaluated.
  • The NewCron factory can be enhanced to use the functional options pattern, allowing gofr to provide an exported option to specify the timezone, such as time.Location.

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions