Forum Discussion
I believe you are looking for the TImeout setting of the Task:
Agreed with @koryknick
@Mahesh7225: What time your job has been scheduled? How would you want to stop that? 4hrs after the execution or 4hrs after trying to run that job?
Thanks!
- Mahesh72253 years agoNew Contributor
i have scheduled job every day at eg. 2pm and after job started it should automatically stop at 5pm on that day, but next day it should be start at 2pm as per schedule
- darshthakkar3 years agoValued Contributor
@Mahesh7225: If you can share more details, why would you want the job to stop at 5pm ONLY? Does it run for 3hours from 2pm-5pm?
Also, if the requirement is to run at 2pm everyday, why don’t you go with Cron Schedule, I’m pretty sure you’re using the same, can you please confirm?
- darshthakkar3 years agoValued Contributor
Here is the snap of the cron job for your reference:
Again, I’m not sure whether you have been using this or not, sharing it ahead of time if this is what you were looking for.