mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 22:33:44 +02:00
Adds months for schedules
Adds month variable for schedules
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user