ReQuartzCron / ReCronComponent

  • value
    The value will be used to prefill the cron controls.
    Type: string
    Default value: empty string ""
  • cssClassPrefix
    The prefix will be used in css classes generating, for example you passed cssClassPrefix="my-" as a result the bootstrap class will be transformed from form-group to my-form-group.
    Type: string
    Default value: empty string ""
  • disabled
    The disabled state.
    Type: boolean
    Default value: false
  • localization
    Localization object
    Type: CronLocalization
  • tabs
    List of visible tabs.
    Type:Tab[]
  • hideTabs
    Control tabs visibility.
    Type: boolean
    Default value: false
  • activeTab
    The active tab.
    Type: Tab
  • onChange
    The callback is triggered when the user changes the cron value using the UI.
    Event payload is the string of the newly cron value.
    Type: (value: string) => void
  • onTabChange
    The callback is triggered when active tab is changed.
    Event payload is the new activated tab.
    Type: (tab: Tab) => void
  • renderYearsFrom
    The starting year in the range of years.
    Type: number
    Default value: 2019
  • renderYearsTo
    End year in a range of years.
    Type: number
    Default value: 2098

ReUnixCronComponent

  • value
    The value will be used to prefill the cron controls.
    Type: string
    Default value: empty string ""
  • cssClassPrefix
    The prefix will be used in css classes generating, for example you passed cssClassPrefix="my-" as a result the bootstrap class will be transformed from form-group to my-form-group.
    Type: string
    Default value: empty string ""
  • disabled
    The disabled state.
    Type: boolean
    Default value: false
  • localization
    Localization object
    Type: CronLocalization
  • tabs
    List of visible tabs.
    Type:Tab[]
  • hideTabs
    Control tabs visibility.
    Type: boolean
    Default value: false
  • activeTab
    The active tab.
    Type: Tab
  • onChange
    The callback is triggered when the user changes the cron value using the UI.
    Event payload is the string of the newly cron value.
    Type: (value: string) => void
  • onTabChange
    The callback is triggered when active tab is changed.
    Event payload is the new activated tab.
    Type: (tab: Tab) => void

TabEnum

enum Tab {
SECONDS = 'SECONDS',
MINUTES = 'MINUTES',
HOURS = 'HOURS',
DAY = 'DAY',
MONTH = 'MONTH',
YEAR = 'YEAR'
}

CronLocalizationType

type CronLocalization = {
common?: {
month?: {
january?: string,
february?: string,
march?: string,
april?: string,
may?: string,
june?: string,
july?: string,
august?: string,
september?: string,
october?: string,
november?: string,
december?: string
},
dayOfWeek?: {
sunday?: string,
monday?: string,
tuesday?: string,
wednesday?: string,
thursday?: string,
friday?: string,
saturday?: string
},
dayOfMonth?: {
'1st'?: string,
'2nd'?: string,
'3rd'?: string,
'4th'?: string,
'5th'?: string,
'6th'?: string,
'7th'?: string,
'8th'?: string,
'9th'?: string,
'10th'?: string,
'11th'?: string,
'12th'?: string,
'13th'?: string,
'14th'?: string,
'15th'?: string,
'16th'?: string,
'17th'?: string,
'18th'?: string,
'19th'?: string,
'20th'?: string,
'21st'?: string,
'22nd'?: string,
'23rd'?: string,
'24th'?: string,
'25th'?: string,
'26th'?: string,
'27th'?: string,
'28th'?: string,
'29th'?: string,
'30th'?: string,
'31st'?: string
}
},
tabs?: {
seconds?: string,
minutes?: string,
hours?: string,
day?: string,
month?: string,
year?: string
},
quartz?: {
day?: {
every?: {
label?: string
},
dayOfWeekIncrement?: {
label1?: string,
label2?: string
},
dayOfMonthIncrement?: {
label1?: string,
label2?: string,
label3?: string
},
dayOfWeekAnd?: {
label?: string
},
dayOfWeekRange?: {
label1?: string,
label2?: string
},
dayOfMonthAnd?: {
label?: string
},
dayOfMonthLastDay?: {
label?: string
},
dayOfMonthLastDayWeek?: {
label?: string
},
dayOfWeekLastNTHDayWeek?: {
label1?: string,
label2?: string
},
dayOfMonthDaysBeforeEndMonth?: {
label?: string
},
dayOfMonthNearestWeekDayOfMonth?: {
label1?: string,
label2?: string
},
dayOfWeekNTHWeekDayOfMonth?: {
label1?: string,
label2?: string
}
},
month?: {
every?: {
label?: string
},
increment?: {
label1?: string,
label2?: string
},
and?: {
label: string
},
range?: {
label1?: string,
label2?: string
}
},
second?: {
every?: {
label?: string
},
increment?: {
label1?: string,
label2?: string,
},
and?: {
label?: string
},
range?: {
label1?: string,
label2?: string
}
},
minute?: {
every?: {
label?: string
},
increment?: {
label1?: string,
label2?: string
},
and?: {
label?: string
},
range?: {
label1?: string,
label2?: string
}
},
hour?: {
every?: {
label?: string
},
increment?: {
label1?: string,
label2?: string
},
and?: {
label?: string
},
range?: {
label1?: string,
label2?: string
}
},
year?: {
every?: {
label?: string
},
increment?: {
label1?: string,
label2?: string
},
and?: {
label?: string
},
range?: {
label1?: string,
label2?: string
}
}
},
unix?: {
day?: {
every?: {
label?: string
},
dayOfWeekIncrement?: {
label1?: string,
label2?: string
},
dayOfMonthIncrement?: {
label1?: string,
label2?: string
},
dayOfWeekAnd?: {
label?: string
},
dayOfMonthAnd?: {
label?: string
}
},
month?: {
every?: {
label?: string
},
increment?: {
label1?: string,
label2?: string
},
and?: {
label?: string
},
range?: {
label1?: string,
label2?: string
}
},
minute?: {
every?: {
label?: string
},
increment?: {
label1?: string,
label2?: string
},
and?: {
label?: string
},
range?: {
label1?: string,
label2?: string
}
},
hour?: {
every?: {
label?: string
},
increment?: {
label1?: string,
label2?: string
},
and?: {
label?: string
},
range?: {
label1?: string,
label2?: string
}
}
}
};