SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
All day Schedule - Job day time range

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
All day Schedule - Job day time range
Author Message
Shari Shetty



Joined: 25 Jun 2004
Posts: 2

Post All day Schedule - Job day time range Reply with quote

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.

Fri Jun 25, 2004 10:18 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7955

Post Re: All day Schedule - Job day time range Reply with quote

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.

Fri Jun 25, 2004 11:29 am View user's profile Send private message
Shari Shetty



Joined: 25 Jun 2004
Posts: 2

Post Re: All day Schedule - Job day time range Reply with quote

In case I create 2 jobs:
If a process is initiated and still running at 11:59 PM, Will the process be terminated or will it carry on to completion ?

: 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.

Fri Jun 25, 2004 12:45 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7955

Post Re: All day Schedule - Job day time range Reply with quote

It will carry on to completion.

: In case I create 2 jobs: If a process is initiated and still running at 11:59
: PM, Will the process be terminated or will it carry on to completion ?

Fri Jun 25, 2004 12:46 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.