xpepermint / mongodb-cron

MongoDB collection as crontab

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cron Interval

amcdnl opened this issue · comments

The sleepUntil property is required when defining cron jobs but never documented. I think it shouldn't be required to specifically declare it null if possible, if not then docs should be added.

Let me check this ...

Hum... there is a guided documentation as part of the README.md. It says:

A job should have at least the sleepUntil field. Cron processes only documents where this field exists, other documents are ignored.

Btw, you can rename this field as explains in the api and thus have multiple cron queues on the same collection.

Is that what you were searching? Still anything missing?