Schedule.withDoNotRunAfter(DateTime doNotRunAfter) 方法
定义
Set if you do not specify a doNotRunAfter time, and you are creating a recurring job schedule, the job schedule will remain active until you explicitly terminate it.
public Schedule withDoNotRunAfter(DateTime doNotRunAfter)
参数
- doNotRunAfter
- DateTime
the doNotRunAfter value to set
返回
the Schedule object itself.