SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Status reports

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Status reports
Author Message
Luis Fedriani



Joined: 27 Sep 2000
Posts: 29

Post Status reports Reply with quote

I have enabled the html log option, i must send the files index.html, contents.html, reports.html and others via ftp to my linux web server, i do it every 15 minutes with a 24x7 job, but after a few hours 24x7 stop to generate those files and the contents.html keeps with 0 KB . Only a shutdown and delete those files made to 24x7 to generate again the status report but only for a little time then stop again. whats happend?

regards
Luis Fedriani

Tue Dec 19, 2000 2:31 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: Status reports Reply with quote

1. Make a job that runs in background using endless loop. Set this job to start "on 24x7 Scheduler startup". Code this job to do the FTP things
2. Set the maximum log size to a reasonable value (see Tools/Options/Log)

Here is the sample script
RESTRAT:
FTPPutFile "ftp.mycompany.com", "myid", "mypassword", "reports.htm,index.htm,contents.htm", "reports.htm,index.htm,contents.htm"
Wait 900
Goto RESTART

: I have enabled the html log option, i must send the files index.html,
: contents.html, reports.html and others via ftp to my linux web server, i
: do it every 15 minutes with a 24x7 job, but after a few hours 24x7 stop to
: generate those files and the contents.html keeps with 0 KB . Only a
: shutdown and delete those files made to 24x7 to generate again the status
: report but only for a little time then stop again. whats happend?

: regards
: Luis Fedriani

Tue Dec 19, 2000 3:34 pm View user's profile Send private message
Luis Fedriani



Joined: 27 Sep 2000
Posts: 29

Post Re: Status reports Reply with quote

Sorry, I don't explain very good my problem. the job is working ok, it's the 24x7 software who stop generate the status report, then my job always reply the same files. the last day when generate the status reports was on friday 15 at 18:17, at thit point never made again the file with new job status , but in the event log it is.

can you understand me now?.

thanks and sorry again.

Tue Dec 19, 2000 3:57 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: Status reports Reply with quote

1. Have you specified the full directory name for HTML files. If not then HTML files will be generated in the *current* directory which can change at any time.
2. Check the schedule.log file. Make sure there is no entries that occupy more than 1 line. Each entry must be on a separate line. Remove bad entries, if any.

As for the suggested solution. It is a good way to instantly *move* files without starting/verifying/monitoring/stopping many jobs. It reduces load to the scheduler and the machine.

: Sorry, I don't explain very good my problem. the job is working ok, it's the
: 24x7 software who stop generate the status report, then my job always
: reply the same files. the last day when generate the status reports was on
: friday 15 at 18:17, at thit point never made again the file with new job
: status , but in the event log it is.

: can you understand me now?.

: thanks and sorry again.

Tue Dec 19, 2000 4:13 pm View user's profile Send private message
Luis Fedriani



Joined: 27 Sep 2000
Posts: 29

Post Re: Status reports Reply with quote

1. i have the full directory name
2. all the entries occuped one line

How can i do instantly *move* files ?

thanks

Tue Dec 19, 2000 4:58 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: Status reports Reply with quote

Please see me previous reply. The job will sleep and work in the background taking only some minimal resources.

: 1. i have the full directory name
: 2. all the entries occuped one line

: How can i do instantly *move* files ?

: thanks

Tue Dec 19, 2000 5:55 pm View user's profile Send private message
Luis Fedriani



Joined: 27 Sep 2000
Posts: 29

Post Re: Status reports Reply with quote

I did the jal script, the job works ok, but the 24x7 generate reports stop again today, it was generating normaly since last friday and today at 09:27 stop it.

suggestions?

Wed Dec 27, 2000 10:06 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: Status reports Reply with quote

How big are these HTML files?

How about schedule.log file, does 24x7 keeps updating it, or it also stops?
Is it possible to open this file in the notepad, or the file is locked?

If you are running it in NT or W2K environment, can you check in the Task Manager, memory resources allocated for the 24x7 (mem usage, VM size, handles, threads)?

Do you run jobs that open, but don't close files?

Do you have FILES option set in your CONFIG.SYS file, if yes, how big is it?

: I did the jal script, the job works ok, but the 24x7 generate reports stop
: again today, it was generating normaly since last friday and today at
: 09:27 stop it.

: suggestions?

Wed Dec 27, 2000 1:56 pm View user's profile Send private message
Luis Fedriani



Joined: 27 Sep 2000
Posts: 29

Post Re: Status reports Reply with quote

: How big are these HTML files?
the biggest it is reports.htm = 590KB, others are 1Kb

: How about schedule.log file, does 24x7 keeps updating it, or it also stops?
: Is it possible to open this file in the notepad, or the file is locked?
yes, keep updating it and it is possible to open

: If you are running it in NT or W2K environment, can you check in the Task
: Manager, memory resources allocated for the 24x7 (mem usage, VM size,
: handles, threads)?
On NT workstation it's:
mem usage = 3555Kb
VM size = 17200Kb
Handles = 119
Threads = 7

: Do you run jobs that open, but don't close files?
No

: Do you have FILES option set in your CONFIG.SYS file, if yes, how big is it?
No, the config.sys is empty

Wed Dec 27, 2000 3:22 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: Status reports Reply with quote

590KB should not be a problem for HTML file generation, however this number indicates that you have lots of messages in the job log and it also contributes good chunck to the 17 MB for VM size. Lots of cached event log records also can affect the performance of the 24x7 job processing.

What is the current value for the "maximum log event records" in the 24x7 options (Tools/Options menu, Log tab page)?
How big is the schedule.log file?
Which Web browser do you have on the computer where 24x7 is running?

: the biggest it is reports.htm = 590KB, others are 1Kb
: yes, keep updating it and it is possible to open
: On NT workstation it's: mem usage = 3555Kb
: VM size = 17200Kb
: Handles = 119
: Threads = 7
: No
: No, the config.sys is empty

Wed Dec 27, 2000 3:44 pm View user's profile Send private message
Luis Fedriani



Joined: 27 Sep 2000
Posts: 29

Post Re: Status reports Reply with quote

Really i have 50 jobs or more per day for the Oracle dataware replication.

: What is the current value for the "maximum log event records" in
: the 24x7 options (Tools/Options menu, Log tab page)?
800
: How big is the schedule.log file?
61Kb
: Which Web browser do you have on the computer where 24x7 is running?
MS Internet Explorer 5

I think that the ftp of those files in determinate time is in conflict with the generation , maybe at the same time both the ftp and the generator trate to read /write those files respectively and then it keep them locks , isn't?

Wed Dec 27, 2000 4:33 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: Status reports Reply with quote

The log file is small. Why it creates HTML file as big as 561KB?
Does the HTML file look good to you?

Do you have "display message box time" options disabled/ set to 0 in the 24x7 options (Tools/Options menu General tab)?
If it is not a 0 and 24x7 cannot write an HTML report, it will popup an error message. The message box will appear and disappear automatically after the specified "display message box time". If you have it disabled, try enabling it and check whether such error message will appear after a next job run. You can force HTML report update by running some job manually (File/Run Now menu).

If a FTP job cannot open an input file it should fail and write some error message to the job event log, unless the job has "job logging" option disabled.
If you setup a job to instantly run in the background, make sure to check "ignore job errors" job property so it will not stop after an error.

The Report file is written in one pass, so no other program can read

: Really i have 50 jobs or more per day for the Oracle dataware replication.
: 800
: 61Kb
: MS Internet Explorer 5

: I think that the ftp of those files in determinate time is in conflict with
: the generation , maybe at the same time both the ftp and the generator
: trate to read /write those files respectively and then it keep them locks
: , isn't?

Wed Dec 27, 2000 5:13 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.