citusdata / citusdata/pg_cron

Expose function (like next_run(crontab_entry TEXT, tm TIMESTAMPTZ)::TIMESTAMPTZ) to allow crontab next run timestamp calculations

Open
#384 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
3.9k
Forks
260
Avg merge
5d 5h
Merged PRs (30d)
1

Description

It would be nice to have an exposed public function like this:

`cron.next_run(crontab_entry TEXT, tm TIMESTAMPTZ)`

which validates specified crontab entry and, if valid, returns timestamp of next run for specified crontab entry and specified last run time (or current time, unless specified).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.