Please note that you can subscribe to the individual forums. A subscription for news only covers the news.
Job deadline and duration in days
How can I specify the deadline for a job, in days.
I want to make a job that is long run and last 2 or 3 days.
And the deadline for the job is 5 days from its announcement.
It took me a while to understand Respite. I ended up with something like this
[job-Awesome Task For You]
The task will be announced 9 days after last deadline. And the deadline will be 5 days after announced.
I just noted that using FirstInterval=5, Respite=5d didn't announce the task on start but after 24hours.
Just a clarification.
FirstInterval decides the deadline first time the job is in the script. And yes, For FirstInterval it may be a day later. I don't remember exactly how it works, but I think that FirstInterval=4 means that 4 days are added to the current date. And then midnight is chosen as the deadline.
Interval decides the next deadline, not after the last deadline, but after the last completion.
Respite decides how long time before the deadline the job is announced.