SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
ConcatEx, Parsing, and Is Statements

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
ConcatEx, Parsing, and Is Statements
Author Message
Mike



Joined: 27 Feb 2002
Posts: 21

Post ConcatEx, Parsing, and Is Statements Reply with quote

Hi,

I am using 24x7 to maintain a "queue" file used
to poll data from resturants. This file is an
ASCII file that contains polling job information
such as run time and run date. It worked perfectly
for me when I had it set up on a Win2k server,
but I recently set up 24x7 with the same scripts
on an XP server and it isn't working. Before I
go into any more detail, does anybody know of any
issues using 24x7 with Windows XP?

Ok, so now for the detail. The first thing my script
tries to do is create a temporary copy of the queue
file. I use ConcatEx to create a duplicate file with
.temp on the end of it. This worked fine in 2k, but
for some reason in XP, the temp file that is created
does not have everything that is in the original
file. It just had the headers from the queue file.

The next thing I do is parse the queue file using
GetToken. After that, I use IsGreater, IsEqual,
and IsLess to determine if the date and time for
the job has passed. If it has, the job is modfied
to let another 24x7 script know it is ready to run.
I'm not getting any errors, but for some reason,
it doesn't notice that the time for the jobs in
the queue file has passed, and is not editing them.

This has always worked for me, the only difference
now is that I'm using XP instead of 2k. I hope I
didn't make this too confusing. Any suggestions
would be greatly apprecieated.

Thank you
Mike

Tue Mar 15, 2005 1:13 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7974

Post Re: ConcatEx, Parsing, and Is Statements Reply with quote

The only issue in XP I am aware of is running graphical programs as batches using another user account. Because of a bug in XP (caused by the built-in terminal server) only program outlines appear on the screen, in other words programs started using another user account is running fine but not displayed correctly. Other then that it is working fine.

In you case I think the issue is caused by different regional settings. Set your date/time/number settings to match your old system. If that doesn't help run the job in debugger or enable the trace mode and let it run on schedule. After the run check the trace file. There you should be able to see what didn't work as expected.

: Hi,

: I am using 24x7 to maintain a "queue" file used
: to poll data from resturants. This file is an
: ASCII file that contains polling job information
: such as run time and run date. It worked perfectly
: for me when I had it set up on a Win2k server,
: but I recently set up 24x7 with the same scripts
: on an XP server and it isn't working. Before I
: go into any more detail, does anybody know of any
: issues using 24x7 with Windows XP?

: Ok, so now for the detail. The first thing my script
: tries to do is create a temporary copy of the queue
: file. I use ConcatEx to create a duplicate file with
: .temp on the end of it. This worked fine in 2k, but
: for some reason in XP, the temp file that is created
: does not have everything that is in the original
: file. It just had the headers from the queue file.

: The next thing I do is parse the queue file using
: GetToken. After that, I use IsGreater, IsEqual,
: and IsLess to determine if the date and time for
: the job has passed. If it has, the job is modfied
: to let another 24x7 script know it is ready to run.
: I'm not getting any errors, but for some reason,
: it doesn't notice that the time for the jobs in
: the queue file has passed, and is not editing them.

: This has always worked for me, the only difference
: now is that I'm using XP instead of 2k. I hope I
: didn't make this too confusing. Any suggestions
: would be greatly apprecieated.

: Thank you
: Mike

Tue Mar 15, 2005 2:50 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.