 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
Leo
Joined: 11 Jul 2008 Posts: 17
|
|
contents.htm is overwritten |
|
Hello dear support, I work with 24x7_Scheduler Multi Platform edition the 24x7_Scheduler version work under Linux (Red-Hat). At present a problem is after the stop and start the 24x7_Scheduler the file contents.htm is overwritten. It is to adjust possible in such a way that contents.htm after the 24x7_Scheduler start is not overwritten, or at least 5 entries to remain.
for exsample
<tr><td valign=top><font size=2 face="arial,helvetica"><b><a href="29-Januar-2010.htm">Januar 29, 2010</a></b></font></td></tr>
<tr><td valign=top><font size=2 face="arial,helvetica"><b><a href="28-Januar-2010.htm">Januar 28, 2010</a></b></font></td></tr>
<tr><td valign=top><font size=2 face="arial,helvetica"><b><a href="27-Januar-2010.htm">Januar 27, 2010</a></b></font></td></tr>
Second problem. After the stop and start the 24x7_Scheduler the file 29-Januar-2010.htm is overwritten and the whole history is to no more to be seen.
Third problem
The real-time Web reports can’t sort by “Job No” “Job Name” or "Date/Time"
See picture

|
|
Fri Jan 29, 2010 3:50 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7952
|
|
|
|
Hi,
The content file is overwritten on every update of log files. This is by design. But that doesn't mean that you should loose any log data. There may be some file caching issue that causes the internal log cache not to be written to the disk when the scheduler is shutdown. Or there may be some sorting issue that causes newest log entries to go to the beginning of the logs instead of the end and then being incorrectly removed after restart during log rotation.
Can you tell us what happens to your scheduler.log file. After the scheduler restart, can you see the most recent entries in that file?
Does the content of schedule.log match content of most recent daily HTML files?
Which regional settings are used on that computer?
Aside from that, you may want to increase the size of maximum log size parameter. The value should be big enough to allow storing at least 3 days of activities, but no too big in order not to require a lot of memory for log caching. Normally this parameter value should be in 1000 – 10000 range
The sorting in HTML is not supported, this is a static report. You can always import a copy of schedule.log file into a spreadsheet program and then sort and filter it anyway you want, or in a spreadsheet you can set its data source to an external file and avoid repeating importing steps. Lastly, if you want you can set jobs to write log events to a database, you can then use virtually any reporting tool to query that database and create the required reports.
|
|
Fri Jan 29, 2010 9:17 am |
|
 |
Leo
Joined: 11 Jul 2008 Posts: 17
|
|
|
|
Hi,
after scheduler restart write the scheduler normaly in to scheduler.log. The HTML file reports are the same how scheduler.log.
Regional settings.
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
Mo 1. Feb 14:46:12 CET 2010
|
|
Mon Feb 01, 2010 9:56 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7952
|
|
|
|
Hi,
By regional settings, we meant time zone and national language settings this system is configured for, specifically the default date time formats.
Thanks
|
|
Mon Feb 01, 2010 11:41 am |
|
 |
Leo
Joined: 11 Jul 2008 Posts: 17
|
|
|
|
Hi,
time zone (GMT+1 time) and language settings einglish
|
|
Tue Feb 02, 2010 9:30 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7952
|
|
|
|
Hi,
There may be a problem with your Java installation. In case your Java run-time calculates timezones incorrectly, it may cause the scheduler to overwrite some events in the log and HTML files.
If that's the case, you may need to run Java Timezone Updater tool. Here are some links
http://java.sun.com/javase/timezones/#tzjre
http://www.ibm.com/support/docview.wss?uid=swg21250503
I don't know which Java versions you run. Please pick the updater tool compatible with your version. Please let us know if that helps to resolve the issue.
|
|
Tue Feb 02, 2010 9:58 am |
|
 |
|
|
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
|
|
|