You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`cronTime`: [REQUIRED] - The time to fire off your job. Can be cron syntax, a JS [`Date`](https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Date) object or a Luxon [`DateTime`](https://moment.github.io/luxon/api-docs/index.html#datetime) object.
201
201
@@ -219,6 +219,10 @@ day of week 0-7 (0 or 7 is Sunday, or use names)
219
219
220
220
-`errorHandler`: [OPTIONAL] - Function to handle any exceptions that occur in the `onTick` method.
221
221
222
+
-`name`: [OPTIONAL] - Name of the job. Useful for identifying jobs in logs.
223
+
224
+
-`threshold`: [OPTIONAL] - Threshold in ms to control whether to execute or skip missed execution deadlines caused by slow or busy hardware. Execution delays within threshold will be executed immediately, and otherwise will be skipped. In both cases a warning will be printed to the console with the job name and cron expression. See [issue #962](https://github.com/kelektiv/node-cron/issues/962) for more information. Default is `250`.
225
+
222
226
#### Methods
223
227
224
228
-`from` (static): Create a new CronJob object providing arguments as an object. See argument names and descriptions above.
0 commit comments