Skip to main content

I have a maintenance process, let's call it, that could take awhile to execute. I want to use jamf policy to manage it. I'm trying to avoid creating a launchdaemon for this because it's temporary. It could take hours and part of the script has a hard cutoff after 10hours. I also want this to execute at 9-10pm at night during reoccurring checkin. At 10:01, I no long want this maintenance process to run.



Would setting the client side limitation to not run between 10pm to 9pm work to accomplish this?



Again, I want a maintenance process to run at 9-10 pm start time ONLY.



Thanks in advance, you guys are the best.

That's correct



Do not run between
10 pm and 9 pm



However, if that process is currently triggerat 9:59 pm it'll run till finished. It won't stop because 10PM hit.


Thanks brony. Yea, that is fine because the program will not run longer than 10 hours. This is perfect. Thank you for confirming.