Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for dow (0.01 sec)

  1. pkg/controller/cronjob/utils.go

    	}
    	if now.Before(t2) {
    		return earliestTime, &t1, missedSchedules, nil
    	}
    
    	// It is possible for cron.ParseStandard("59 23 31 2 *") to return an invalid schedule
    	// minute - 59, hour - 23, dom - 31, month - 2, and dow is optional, clearly 31 is invalid
    	// In this case the timeBetweenTwoSchedules will be 0, and we error out the invalid schedule
    	timeBetweenTwoSchedules := int64(t2.Sub(t1).Round(time.Second).Seconds())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top