You will either need to create 2 jobs one to run from 9:00 PM to 11:59 PM and another to run from 00:00 AM to 2:00 AM or Create one job and check run-time time within the script. If it doesn't fall into 9 PM - 2 AM range then simply exit the script (take a look in the on-line help IsTimeBetween and Exit methods) If you decide to use the first method then "Job day time range" is the place where you would enter these time intervals. The job will run only when the time is in the specified range. : range : I need to schedule a script to run from 9:00 PM to 2:00 AM everyday. : What is the best way to do this. : I have tried All day scheduling. But did not understand what the job day time : range(on clicking the advanced button) are used for. I think they : terminate the process after the end time.
|