Closed bahramhasanov closed 6 months ago
Until now the format option wasn't included in @vue-js-cron/light
, because I had some issues releasing it.
@vue-js-cron/light@3.0.0
is the first version to support the quartz format. However, quartz support is still limited (no support for L
W
or #
)
These are the default periods for quartz
:
[
{
"id": "q-second",
"value": [],
"text": "Second"
},
{
"id": "q-minute",
"value": [
"second"
],
"text": "Minute"
},
{
"id": "q-hour",
"value": [
"minute",
"second"
],
"text": "Hour"
},
{
"id": "day",
"value": [
"hour",
"minute",
"second"
],
"text": "Day"
},
{
"id": "week",
"value": [
"dayOfWeek",
"hour",
"minute",
"second"
],
"text": "Week"
},
{
"id": "month",
"value": [
"day",
"dayOfWeek",
"hour",
"minute",
"second"
],
"text": "Month"
},
{
"id": "year",
"value": [
"month",
"day",
"dayOfWeek",
"hour",
"minute",
"second"
],
"text": "Year"
}
]
What are you trying to achieve by specifying custom periods?
closing due to inactivity
When I am defining periods it works ok for cron format. It starts to fail when quartz defined.
example code: