SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Semaphore action on mask not file name

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Semaphore action on mask not file name
Author Message
James Johns



Joined: 06 Oct 2003
Posts: 15

Post Semaphore action on mask not file name Reply with quote


I have a job set up with "Move before execution" option for the semaphore file that triggers the job.

The job runs when the semaphore exists. It gets an error which indicates that it fails to move the semaphore file. The error message is
"Unable to move semaphore file. Extended error: Could not move file "C:\Program Files\24x7 Automation 3\sem\SchedulerTestStub0_*.FINISH" during 3 seconds. Source file "C:\Program Files\24x7 Automation 3\sem\SchedulerTestStub0_*.FINISH" not found"

I am sure that 24x7 knows this file exists because it triggered the job. The message seems to be saying that it is trying to move a semaphore file with a name that is the same as the value of the file mask, rather then the name of the semaphore file that it found with the mask.

If this is correct, it looks like a bug in 24x7.
If it is incorrect, I do not understand the message.

Either way, can you investigate please?

Sun Dec 14, 2003 9:36 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7969

Post Re: Semaphore action on mask not file name Reply with quote

Move or rename semaphore files option does not currently support file masks.
One of the available workarounds is to use a script type notification action and take care of file processing in the script. Another workaround is to use a program type action using DOS move command with a file mask.

: I have a job set up with "Move before execution" option for the
: semaphore file that triggers the job.

: The job runs when the semaphore exists. It gets an error which indicates that
: it fails to move the semaphore file. The error message is
: "Unable to move semaphore file. Extended error: Could not move file
: "C:\Program Files\24x7 Automation
: 3\sem\SchedulerTestStub0_*.FINISH" during 3 seconds. Source file
: "C:\Program Files\24x7 Automation
: 3\sem\SchedulerTestStub0_*.FINISH" not found"

: I am sure that 24x7 knows this file exists because it triggered the job. The
: message seems to be saying that it is trying to move a semaphore file with
: a name that is the same as the value of the file mask, rather then the
: name of the semaphore file that it found with the mask.

: If this is correct, it looks like a bug in 24x7.
: If it is incorrect, I do not understand the message.

: Either way, can you investigate please?

Mon Dec 15, 2003 9:39 am View user's profile Send private message
James Johns



Joined: 06 Oct 2003
Posts: 15

Post Re: Semaphore action on mask not file name Reply with quote

Is support for moves of semaphore files based on a mask scheduled to be available in a future release?



Thu Jan 15, 2004 2:22 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7969

Post Re: Semaphore action on mask not file name Reply with quote

I will submit an enhancement request on your behave.

By the way, for now you can use FileDir utility for this purpose. This utility can be called with appropriate parameter from a notification action of "run program" type and carry a command (including, "copy", "move" or "rename") for every file matching the file mask. For more information please see http://www.softtreetech.com/24x7/archive/46.htm.

: Is support for moves of semaphore files based on a mask scheduled to be
: available in a future release?

Thu Jan 15, 2004 9:58 am 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.