SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
default job database

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
default job database
Author Message
Eric



Joined: 10 Jan 2005
Posts: 15

Post default job database Reply with quote

In our dev enviornment, we have multiple job databases for testing.

when 24x7 is run as a service.. what job database will it pull up by default? how can I set this behavior ?

Mon Jan 10, 2005 2:18 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7969

Post Re: default job database Reply with quote

It always uses the last opened, regardless of how it runs, as a service or as a standalone system. If you want to automate changing the file without starting the GUI you can use Windows Registry Editor to modify value of the HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0\ScheduleFile. After changing this value don't forget to restart the service.

In case if you want to automate that process you can create special 24x7 job which you can run from command line or using shortkut like "24x7.EXE /JOB [job id or name here]" or you can use a batch file.
To use a batch file first create a .REG file (for example MyReg.REG) then create a batch like

regedit MyReg.REG
NET STOP "24x7 Scheduler"
NET START "24x7 Scheduler"

The contents of the REG file can be like 4 example lines below

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0]
"ScheduleFile"="H:\\Schedule\\Client Support\\MyFile.dat"

: In our dev enviornment, we have multiple job databases for testing.

: when 24x7 is run as a service.. what job database will it pull up by default?
: how can I set this behavior ?

Mon Jan 10, 2005 2:45 pm View user's profile Send private message
Eric



Joined: 10 Jan 2005
Posts: 15

Post Re: default job database Reply with quote

hmm.. changed the reg key, and restated the box & the service... but the database still seemed to come up as the 'example' database.

: It always uses the last opened, regardless of how it runs, as a service or as
: a standalone system. If you want to automate changing the file without
: starting the GUI you can use Windows Registry Editor to modify value of
: the HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7
: Scheduler\3.0\ScheduleFile. After changing this value don't forget to
: restart the service.

: In case if you want to automate that process you can create special 24x7 job
: which you can run from command line or using shortkut like "24x7.EXE
: /JOB [job id or name here]" or you can use a batch file.
: To use a batch file first create a .REG file (for example MyReg.REG) then
: create a batch like

: regedit MyReg.REG
: NET STOP "24x7 Scheduler"
: NET START "24x7 Scheduler"

: The contents of the REG file can be like 4 example lines below

: Windows Registry Editor Version 5.00

: [HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0]
: "ScheduleFile"="H:\\Schedule\\Client Support\\MyFile.dat"

Mon Jan 10, 2005 3:48 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7969

Post Re: default job database Reply with quote

Please make sure the file name is correct and includes the path part. "Example Job.dat" is opened if the specified file cannot be found.

: hmm.. changed the reg key, and restated the box & the service... but the
: database still seemed to come up as the 'example' database.

Mon Jan 10, 2005 4:36 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.