Constructors

Properties

cronTraits: {
    allowOnlyOneBlankDayField: boolean;
    daysOfMonth: { maxValue: number; minValue: number };
    daysOfWeek: { maxValue: number; minValue: number };
    hours: { maxValue: number; minValue: number };
    minutes: { maxValue: number; minValue: number };
    months: { maxValue: number; minValue: number };
    presetId: string;
    seconds: { maxValue: number; minValue: number };
    useAliases: boolean;
    useBlankDay: boolean;
    useSeconds: boolean;
    useYears: boolean;
    years: { maxValue: number; minValue: number };
} = ...

Methods

  • Convert cron expression to Daemon scheduler suitable format

    Parameters

    • expression: string

      CRON expression

    Returns string

    Daemon API cron expression

  • Resolves cron expression alias

    Parameters

    • alias: string

      CRON expression alias

    Returns undefined | string

    Resolved CRON expression alias string, undefined if alias is not supported

  • Converts cron expression to human-readable string

    Parameters

    • expression: string

      CRON expression

    Returns string

    Human-readable cron expression