? / L W C 月份 1-12 或者 JAN-DEC , - / 星期 1-7 或者 SUN-SAT , - ? / L C #
年(可選) 留空, 1970-2099 , - /
The '' character is used to specify all
values. For example, "" in the minute field means "every minute".
“”字符被用來指定所有的值。如:”“在分鐘的字段域里表示“每分鐘”。 The '?' character is allowed for
the day-of-month and day-of-week fields. It is used to specify 'no specific
value'. This is useful when you need to specify something in one of the two
fileds, but not the other. See the examples below for clarification.
“?”字符只在日期域和星期域中使用。它被用來指定“非明確的值”。當你需要通過在這兩個域中的一個來指定一些東西的時候,它是有用的。看下面的例子你 就會明白。
月份中的日期和星期中的日期這兩個元素時互斥的一起應該通過設置一個問號(?)來表明不想設置那個字段 The '-' character is
used to specify ranges For example "10-12" in the hour field means "the hours
10, 11 and 12". “-”字符被用來指定一個范圍。如:“10-12”在小時域意味著“10點、11點、12點”。 The ','
character is used to specify additional values. For example "MON,WED,FRI" in the
day-of-week field means "the days Monday, Wednesday, and Friday".
“,”字符被用來指定另外的值。如:“MON,WED,FRI”在星期域里表示”星期一、星期三、星期五”.