Adds months for schedules
Adds month variable for schedules
This commit is contained in:
parent
9684456480
commit
ffeedf17e4
12 changed files with 65 additions and 11 deletions
|
@ -5,6 +5,7 @@ export interface Schedule {
|
|||
name: string;
|
||||
cron: {
|
||||
dayOfWeek: string;
|
||||
month: string;
|
||||
dayOfMonth: string;
|
||||
hour: string;
|
||||
minute: string;
|
||||
|
@ -46,6 +47,7 @@ export const rawDataToServerSchedule = (data: any): Schedule => ({
|
|||
name: data.name,
|
||||
cron: {
|
||||
dayOfWeek: data.cron.day_of_week,
|
||||
month: data.cron.month,
|
||||
dayOfMonth: data.cron.day_of_month,
|
||||
hour: data.cron.hour,
|
||||
minute: data.cron.minute,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue