Skip to content
cron-pydantic
v0.1.0
Toggle navigation menu
⌘
K
cron-pydantic
v0.1.0
/
API reference
/
cron_pydantic.CronSchedule
cron_pydantic.CronSchedule
¶
pydantic
model
cron_pydantic.
CronSchedule
[source]
¶
Bases:
BaseModel
Five-field Vixie/Cronie schedule.
field
minute
:
str
|
int
=
'*'
¶
field
hour
:
str
|
int
=
'*'
¶
field
day_of_month
:
str
|
int
=
'*'
¶
field
month
:
str
|
int
=
'*'
¶
field
day_of_week
:
str
|
int
=
'*'
¶
to_cron
(
)
→
str
[source]
¶
classmethod
from_cron
(
expression
:
str
)
→
Self
[source]
¶