mirror of
https://github.com/freedbygrace/ActiveDirectoryManager.git
synced 2026-07-26 11:59:14 +00:00
Enhance cron job builder with "Select All" options for time units and remove "custom" option
Replit-Commit-Author: Agent Replit-Commit-Session-Id: 705f2157-ef97-4fbd-89e4-8c7f2ecaea90 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7ed01c5f-a82d-405a-b728-b2e3d127c60c/3e43a46b-eb88-40c4-b4c3-92293e8327e6.jpg
This commit is contained in:
+2
-3
@@ -154,8 +154,7 @@ export const scheduleFrequencies = [
|
||||
"daily",
|
||||
"weekly",
|
||||
"monthly",
|
||||
"yearly",
|
||||
"custom"
|
||||
"yearly"
|
||||
] as const;
|
||||
|
||||
export const weekdays = [
|
||||
@@ -172,7 +171,7 @@ export const weekdays = [
|
||||
export const scheduleRules = pgTable("schedule_rules", {
|
||||
id: serial("id").primaryKey(),
|
||||
ruleId: integer("rule_id").references(() => dynamicGroupRules.id, { onDelete: "cascade" }).notNull(),
|
||||
frequency: text("frequency").notNull(), // once, minutely, hourly, daily, weekly, monthly, yearly, custom
|
||||
frequency: text("frequency").notNull(), // once, minutely, hourly, daily, weekly, monthly, yearly
|
||||
minute: integer("minute"), // 0-59
|
||||
hour: integer("hour"), // 0-23
|
||||
dayOfMonth: integer("day_of_month"), // 1-31
|
||||
|
||||
Reference in New Issue
Block a user