Please enable JavaScript to view this site.

AudienceView Unlimited 7  Product Guides

Navigation: Registry > System Settings > AVScheduler Service

Editing the avSchedulerInputParameters.json File

Scroll Previous Top Next More

The configuration and execution of the AVScheduler is done automatically when AudienceView Unlimited is installed; however, it can also be configured and started manually.

 

The configure the avSchedulerInputParameters.json file:

1.Navigate to Libs folder (C:\AudienceView\Libs\AVScheduler).

2.Open the avSchedulerInputParameters.json file in a text editor, such as Notepad.
Example avSchedulerInputParameters.json file

{
 "application" : {
 "applicationName" : "SCHEDULER",
 "contentPath" : "ENTER THE PATH TO THE CONTENT FILES",
 "logDirectory" : "ENTER THE PATH TO THE LOG FILES",
 "debugLevel" : "false",
 "heartBeatInterval": 300,
 "databaseConnectionString" : "Fake3nCrYPt3dp@$$w0rd",
 "mailHost" : "localhost",
 "marketingMailHost" : "localhost",
 "sessionTimeout" : "600",
 "doWorkWorkerThreadCount" : "4",
 "key1" : "",
 "key2" : "",
 "maximumActiveSessions" : "200"
 },
 "host" : "",
 "workingSessionCount": "4",
 "libPath": "ENTER THE PATH TO THE LIBS",
 "interval": "60",
 "avUser" : "sched",
 "avPwd" : "FakeP@$$W0rd",
 "role" : "System Owner",
 "description" : [
 "applicationName - application name",
 "contentPath - content path",
 "logDirectory - application log directory",
 "logEndpoint - application log end point",
 "logLevel - application log level",
 "databaseConnectionString - encrypted database connection string",
 "mailHost - mail host",
 "marketingMailHost - marketing mail host",
 "sessionTimeout - session timeout in seconds",
 "doWorkWorkerThreadCount - maximum number of cuncurrent worker threads",
 "key1 - encryption key1",
 "key2 - encryption key2",
 "maximumActiveSessions - maximum number of active sessions. Sessions above that number are placed in the waiting state",
 "host - client address",
 "workingSessionCount - number of working sessions scheduler allowed to use concurrently",
 "libPath - lib path for Rapini",
 "interval - database polling interval in seconds",
 "avUser - user name for session authentication",
 "avPwd - encrypted password for session authentication",
 "role - session role"
 ]
}

 

 

3.Insert Sched in the 'avUser' value field.

4.Insert the Sched user's encrypted password into the password value field. If you do not know the Sched user's password, refer to Assigning a New Password.

hint_outline

Hint

To verify that you have the correct password, log into the Desktop as the Sched user.

To encrypt the Sched user's password:

a.Open the EncryptGui tool from the Libs folder.

b.On the MasterKey tab, insert the unencrypted password.

c.If the database has already been encrypted:

i.Click 'Master Keys: Blank'.
The Enter Master Keys dialog box appears.

ii.Enter Master Key 1 in both the 'Enter Master Key 1' and 'Verify Master Key 1' fields.

iii.Click 'OK'.

iv.Enter Master Key 1 in both the 'Enter Master Key 2' and 'Verify Master Key 2' fields.

v.Click 'OK'.
The Enter Master Keys dialog box closes. The 'Master Keys: Blank' button changes to 'Master Keys: Entered'.

a.Click 'Encrypt'.

b.Highlight and copy the encrypted password.

info_outline

Information

When/if the database gets encrypted, the Sched user password and the connection string using the master keys is provided by Hosting (for hosted clients).

5.Insert the role that is assigned to the Sched user in the role value field.

6.Specify the mailhost in the mailhost value field.

info_outline

Information

Hosted clients will use localhost.

For continuity it is recomended to use the same mailhost that you have configured in the global.asa and the registry

7.Insert the connectionString in the connectionString value field.
To locate the connectionString:

a.Navigate to the UI folder.

b.Open the global.asa file.

c.Highlight and copy the connection string that appears next to tsApp.setConnectString.

8.Change the interval value to 60.

info_outline

Information

The interval value is 60 seconds, by default. To change the interval you must include the time in second (15 minutes would be 900).

9.If you will be scheduling Data Management jobs, Insert the location of the data source files in the contentPath value field.

10.Save and close the file.