Member Junction
    Preparing search index...
    • Compute the next run time for a routine: the first cron occurrence strictly after fromDate, floored by the routine's activation-window start. When startAt is in the future relative to fromDate, the next occurrence is computed from startAt instead — an Active routine never gets a NextRunAt before its window opens.

      Parameters

      • cronExpression: string
      • timezone: string
      • fromDate: Date
      • OptionalstartAt: Date

      Returns Date

      when the cron expression or timezone is invalid (callers validate first via CronExpressionHelper.ValidateExpression / entity Validate()).