'use client'; /** * CronCheatsheet * * Popover with cron syntax reference. */ import { Popover, PopoverTrigger, PopoverContent, } from '@djangocfg/ui-core/components'; import { cn } from '@djangocfg/ui-core/lib'; import { HelpCircle } from 'lucide-react'; export interface CronCheatsheetProps { className?: string; } export function CronCheatsheet({ className }: CronCheatsheetProps) { return (

Cron Format

min hour day month weekday
minute 0-59
hour 0-23
day 1-31
month 1-12
weekday 0-6 (Sun-Sat)

Special characters

* any value , list (1,3,5) - range (1-5) / step (*/15)

Examples

0 9 * * * daily at 9am
0 9 * * 1-5 weekdays 9am
*/15 * * * * every 15 min
0 0 1 * * 1st of month
); }