Server Configuration for Scheduled Jobs

Configure the APM Server for Running the Scheduled Jobs

You must configure the APM server for all the scheduled jobs if you have deployed the APM in a clustered environment and you want to dedicate a machine to run all the scheduled jobs.

Procedure

  1. On the APM Server that you want to put in standby mode, navigate to the folder C:\Program Files\Meridium\ApplicationServer\api.
  2. Access the file appsettings.json.
  3. When the APM is deployed on multiple servers, you can enable the background jobs in selected servers by setting this flag. See the following example of the modified line of code:
    "scheduler": {
    "AllowToRunBackgroundJobs": false,
    Note: By default, the value of the key AllowToRunBackgroundJobs is set to true. Set the value of the key AllowToRunBackgroundJobs to False only if you do not want to run scheduler in a APM server.
  4. Save the file.

    The APM server is configured for all the scheduled jobs.

What To Do Next