SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
File Stability option in 3.3.2

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
File Stability option in 3.3.2
Author Message
Hank Hill



Joined: 14 Feb 2002
Posts: 47

Post File Stability option in 3.3.2 Reply with quote

I was running some tests of the integrated option the check the stability of the semaphore file before running a job. It doesn't appear to work. If I change the file size, it just waits for the next cycle and then finds the file again. The job is never run. We are currenlty doing the file stability check with several loops and a lot of script. It would be nice if this worked. Has anyone else reported the problem or is there something special I have to do to make it work?

Tue Aug 06, 2002 9:16 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7949

Post Re: File Stability option in 3.3.2 Reply with quote

What are time intervals specified for the file size check and for the job file existence check?

PS. Of course the file should be found again on every recursive file existence check if the file is not deleted or moved to some other location when the job runs. If the job is lengthly it should move or delete the found semaphore file as the first performed operation.

: I was running some tests of the integrated option the check the stability of
: the semaphore file before running a job. It doesn't appear to work. If I
: change the file size, it just waits for the next cycle and then finds the
: file again. The job is never run. We are currenlty doing the file
: stability check with several loops and a lot of script. It would be nice
: if this worked. Has anyone else reported the problem or is there something
: special I have to do to make it work?

Tue Aug 06, 2002 9:45 am View user's profile Send private message
Hank Hill



Joined: 14 Feb 2002
Posts: 47

Post Re: File Stability option in 3.3.2 Reply with quote

: What are time intervals specified for the file size check and for the job
: file existence check?

: PS. Of course the file should be found again on every recursive file
: existence check if the file is not deleted or moved to some other location
: when the job runs. If the job is lengthly it should move or delete the
: found semaphore file as the first performed operation.

I told it to check every 10 seconds. The thing is, it never starts the job, even after the file has been stable for a minute.

Tue Aug 06, 2002 10:03 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7949

Post Re: File Stability option in 3.3.2 Reply with quote

Does the job go to a queue and hangs there?
What is the time interval for file existence check?
Does the file name include wildcards or multiple file list?

: I told it to check every 10 seconds. The thing is, it never starts the job,
: even after the file has been stable for a minute.

Tue Aug 06, 2002 10:41 am View user's profile Send private message
Hank Hill



Joined: 14 Feb 2002
Posts: 47

Post Re: File Stability option in 3.3.2 Reply with quote

: Does the job go to a queue and hangs there?
: What is the time interval for file existence check?
: Does the file name include wildcards or multiple file list?

The job never makes it to a queue on the ones that hang.

On some occasions, the job find the file and runs immediately instead of waiting the 10 seconds. On others, it find the sempahore and goes no further. I assume those are the ones that I saved right as it check. Does the job look at the file and see if it was modified in the previous 10 seconds? I thought it would stop and look again 10 seconds later.

I tested with a full filename, a mask and single file and a mask and multiple files. All of them showed the same symptoms. Also, if I chose to delete the semaphore, the jobs with masks failed.

Tue Aug 06, 2002 11:47 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7949

Post Re: File Stability option in 3.3.2 Reply with quote

It appears that something is broken in the Job Properties Wizard. The Wizard doesn't set and display the size check interval property, that why the job does not behave as you described. When this property is set correctly to 10 seconds the job would stop and look again 10 seconds later when it finds a file. If there were multiple files defined, it would check each of them.

As a temporary workaround I created a temp script type job with the following code:
JobModify 355, "SIZE_CHECK_INTERVAL", 10

Replace 355 with id of the job that needs to be fixed. I guess this issue will be fixed in the next maintenance release.

: The job never makes it to a queue on the ones that hang.

: On some occasions, the job find the file and runs immediately instead of
: waiting the 10 seconds. On others, it find the sempahore and goes no
: further. I assume those are the ones that I saved right as it check. Does
: the job look at the file and see if it was modified in the previous 10
: seconds? I thought it would stop and look again 10 seconds later.

: I tested with a full filename, a mask and single file and a mask and multiple
: files. All of them showed the same symptoms. Also, if I chose to delete
: the semaphore, the jobs with masks failed.

Tue Aug 06, 2002 1:45 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.