diff --git a/website/docs/cron.md b/website/docs/cron.md index 52833c0b..6b32a939 100644 --- a/website/docs/cron.md +++ b/website/docs/cron.md @@ -230,8 +230,10 @@ has the following properties: - `task` (required): the string identifier of the task that should be executed (same as the first argument to `add_job`) -- `pattern` (required): a cron pattern (e.g. `* * * * *`) describing when to run - this task +- `match` (required): a cron pattern (e.g. `* * * * *`) describing when to run, + or a callback function passed a TimestampDigest and returning a boolean + whether the cron should fire for this timestamp (true) or not (false) this + task - `options`: optional options influencing backfilling, etc - `backfillPeriod`: how long (in milliseconds) to backfill (see above) - `maxAttempts`: the maximum number of attempts we'll give the job