nxtcron - v1.0.1
    Preparing search index...

    Variable toObjectConst

    toObject: (expr: string) => CronObject = ...

    Convert a cron expression into a structured CronObject.

    Type Declaration

      • (expr: string): CronObject
      • Convert a cron expression into a structured CronObject.

        Parameters

        • expr: string

          A standard 5-field cron string or special alias.

        Returns CronObject

        A CronObject containing the raw field values.

        Error if the expression is malformed.

        parser.toObject( '0 9 * * MON' );