SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
saving/loading .dat file

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
saving/loading .dat file
Author Message
liangzhu



Joined: 30 Nov 2011
Posts: 42
Country: Singapore

Post saving/loading .dat file Reply with quote
we usually "save" after we make changes to the JAL.
and at the end of the changes, we "save as" to a file with the date in its name. e.g. 02062012-jobs.dat
this is usually all ok.
on a couple of occasions however, the next time we log on to the machine, we see that 24x7 has loaded a older .dat.
e.g. the last we did was 02062012, but its loaded the 02022012 version instead.
we think it may have happened after a reboot. or restarting 24x7.
where does 24x7 look for the dat file and in what order? is there anyway to force it to read 1 file from 1 fixed location always?

thanks
Mon Feb 06, 2012 3:09 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7838

Post Reply with quote
Hi,
This may happen after restarting if you are not running 24x7 in Run as Administrator mode. The current settings for Windows User Account Control (UAC) and registry/file virtualization allow Windows to virtualize user changes in files and registry and undo them after logoff. Note that 24x7 stores name of the last opened/saved DAT file in the registry, so if Windows reverts the registry values, on restart 24x7 may load a wrong file. One option is to disable UAC, the other is to always use Run as Administrator mode. A third more robust solution is to run 24x7 as a windows service, not in a graphical mode, use the web console to make changes in the jobs, and create a daily maintenance job that compares current job database file with a previous version (binary compare or just a date/time check), and if differences found, automatically creates a back-up copy of the current file using date-time as a suffix in the file name. Hope this helps.
Mon Feb 06, 2012 9:54 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.