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:
In the Windows Search, enter Task Scheduler or under Windows Administrative Tools, select Task Scheduler.
The
Administrative Tools folder
appears. Click Task Scheduler,
right-click and select Open.
The
Task
Scheduler page
appears. On the Action menu, click Create
Task.
The Create
Task page appears.
Under General
tab,
Enter Name and Description of the task in the respective fields.
Under Security Options, select the preferred options to run the task.
Under Triggers tab,
Click New. The New Trigger page appears.
Select Begin
the task as At startup
from the drop-down list.
Under Advanced Settings, select the preferred options if necessary.
Click OK. The new trigger for the task is listed in the Triggers tab.
Under Actions tab,
Click New.
The New Action page appears.
Select Action as Start a program from the drop-down list.
Under Settings section, click Browse and select Dispatch for Loading Apex Sync Tool .exe file from the directory.
Enter configuration file as -f config.json in the Add arguments field.
Enter the file directory where the Dispatch for Loading Apex Sync Tool .exe file is available in the Start in field.
Click OK. The new action for the task is listed in the Actions tab.
Under Conditions
tab, select the preferred options.
Under Settings
tab, select the preferred options.
Click OK. The task is created successfully and listed in the Task Scheduler Library page with status.
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:
In
Apex, navigate to Menu Tree > System Administrator
> System Setup > System
> System Configuration. The following page is displayed:
In System Configuration, select Ticket > Vehicles In Plant.
Under
Vehicles In Plant, set Display vehicles with an loaded status
of field to All.
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.