Schedule a Task to Run Dispatch for Loading Apex Sync Tool

The user has to schedule a task in windows task bar to run the Dispatch for Loading Apex Sync Tool whenever the PC boots up.

Note: The scheduled task runs based on the user login the task is created.

To schedule a task in windows task scheduler, perform the following steps:

  1. In the Windows Search, enter Task Scheduler or under Windows Administrative Tools, select Task Scheduler.

  2. The Administrative Tools folder appears. Click Task Scheduler, right-click and select Open.

  3. The Task Scheduler page appears. On the Action menu, click Create Task.

  4. The Create Task page appears.

  5. Under General tab,

    1. Enter Name and Description of the task in the respective fields.

    2. Under Security Options, select the preferred options to run the task.

  6. Under Triggers tab,

    1. Click New. The New Trigger page appears.

    2. Select Begin the task as At startup from the drop-down list.

    3. Under Advanced Settings, select the preferred options if necessary.

    4. Click OK. The new trigger for the task is listed in the Triggers tab.

  7. Under Actions tab,

    1. Click New. The New Action page appears.

    2. Select Action as Start a program from the drop-down list.

    3. Under Settings section, click Browse and select Dispatch for Loading Apex Sync Tool .exe file from the directory.

    4. Enter configuration file as -f config.json in the Add arguments field.

    5. Enter the file directory where the Dispatch for Loading Apex Sync Tool .exe file is available in the Start in field.

    6. Click OK. The new action for the task is listed in the Actions tab.

  8. Under Conditions tab, select the preferred options.

  9. Under Settings tab, select the preferred options.

  10. Click OK. The task is created successfully and listed in the Task Scheduler Library page with status.

Waiting to Complete Value Configuration in Apex Settings

The Waiting to Complete time is displayed as zero in Average Truck Time for the respective Jobsite due to incorrect configuration of Apex settings.

To configure the Apex settings, perform the following steps:

  1. In Apex, navigate to Menu Tree > System Administrator > System Setup > System > System Configuration. The following page is displayed:

  2. In System Configuration, select Ticket > Vehicles In Plant.

  3. Under Vehicles In Plant, set Display vehicles with an loaded status of field to All.

  4. Once the configuration is completed in Apex settings, the Waiting to Complete time resets to correct value in the Average Truck Time section for respective Jobsite.