CronExpr
A parsed cron expression.
Usage
CronExpr()Parameters
expr: str-
Cron expression string (5 fields: min hour dom month dow).
Raises
ValueError-
If the expression is malformed.
Methods
| Name | Description |
|---|---|
| matches() | Check if a datetime matches this cron expression. |
matches()
Check if a datetime matches this cron expression.
Usage
matches(dt)Parameters
dt-
A datetime to test.
Returns
bool-
True if the datetime matches.