Skip to content

Conversation

gaslitbytech
Copy link

@gaslitbytech gaslitbytech commented Mar 24, 2024

Added new run_at_time_zone field to the chain table to allow for optional separate time zone per chain. The default of current_setting('timezone)` will make this change backwards compatible.

Todo:

  • add unit tests. I haven't figured out how to run the unit tests locally yet.
  • test migrations.
  • add docs

CREATE OR REPLACE FUNCTION timetable.is_cron_in_time(
run_at timetable.cron,
ts timestamptz
ts timestamp
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pashagolub
Copy link
Collaborator

pg_timetable can be run in a specific timezone to solve this. See #645

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants