Greetings,

That's ok actually,  the scheduler doesn't arbitrarily fire off scripts - it
waits until a script is done before launching the next - and it only runs
one catch-up.

Regards,

Thom

 

Thom C. Blackwell

Product Manager

Boston Software Systems

(866) 653-5105 ex 807

www.bossoft.com

 

LEGAL NOTICE Unless expressly stated otherwise, this message is confidential
and may be privileged. It is intended for the addressee(s) only. Access to
this E-mail by anyone else is unauthorized. If you are not an addressee, any
disclosure or copying of the contents of this E-mail or any action taken (or
not taken) in reliance on it is unauthorized and may be unlawful. If you are
not an addressee, please inform the sender immediately, then delete this
message and empty from your trash.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stephen R. Smesny
Sent: Thursday, March 15, 2007 4:49 PM
To: [email protected]
Subject: RE: [Talk] Polling a folder until a certain time.

 

Thom,

After thinking a little harder on this I think I would rather write the time
stipulation in the script.  If it fires off the first time and has a lot of
files to process, it could still be processing the first round of files when
it is scheduled to fire off the second time.  I would not want that to cause
problems.  How would you go about changing it in the code?

Thanks,

Stephen

 

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Thom C.Blackwell
Sent: Thursday, March 15, 2007 1:08 PM
To: [email protected]
Subject: RE: [Talk] Polling a folder until a certain time.

 

Greetings,

I'm assuming this is being kicked off by the Scheduler. Are you running
other scripts during this interval? 

The easiest (no script modification) way would be to use the Scheduler. You
could set up the script to be on a minute interval (every 10) with a start
time of 9:00AM. Then check off the hours from 12 - 8:00 AM under the Hours
interval tab. This way the same script would launch every 10 minutes - if no
files, it just ends, if files it processes.

Regards,

Thom

 

Thom C. Blackwell

Product Manager

Boston Software Systems

(866) 653-5105 ex 807

www.bossoft.com

 

LEGAL NOTICE Unless expressly stated otherwise, this message is confidential
and may be privileged. It is intended for the addressee(s) only. Access to
this E-mail by anyone else is unauthorized. If you are not an addressee, any
disclosure or copying of the contents of this E-mail or any action taken (or
not taken) in reliance on it is unauthorized and may be unlawful. If you are
not an addressee, please inform the sender immediately, then delete this
message and empty from your trash.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stephen R. Smesny
Sent: Thursday, March 15, 2007 12:30 PM
To: [email protected]
Subject: [Talk] Polling a folder until a certain time.

 

I currently have a script set up that fires off at 9:00 in the morning.  The
script looks at a folder and checks for files.  If it finds a file it
processes it then looks for another file.  It will process all of the files
until the folder no longer contains any files.  If the folder is empty, the
script will terminate.  Is there a way to have the script keep polling until
12:00.  Maybe set up a wait statement and have it check every 10 minutes
until it is 12:00 then shut down?  

This message was scanned with MIMESweeper.

Reply via email to