Running the destination travel time matrix with a cron

Use a cron to start the automatic calculation of destination travel times between all existing service addresses in your schedule data.

Before you begin

Configure the following Map Manager information to use the map provider capabilities of the destination travel time matrix service.
  • Configure the following Map Manager information to use the map provider capabilities of the destination travel time matrix service. In the Map Manager application, configure your user and password to access the cost matrix service at the map provider side. This set up ensures that the destination travel time matrix service is used when the user incorrectly enters the travel time between service addresses in either of the following locations.
    • Service address application.
    • Database level.
  • Select the coordinates of X and Y, complete the following steps.
    • Open the Organizations application.
    • Select an organization.
    • In the side navigation menu, click Service Address Options.
    • In the Service Address Option modal, within the coordinates section, select the coordinates of X and Y.
    • Save the record, click OK.

About this task

If you use a cron to start the automatic calculation of destination travel times between service addresses, then your scheduling application can get the best order for a technician's route. The calculations and best routes are used to optimize your schedule.

If you don't want to use a cron, you can manually start the automatic calculation of the travel times. Also you can manually enter travel time between service addresses in the Service Address application. For more information about both scenarios, see Service addresses.

To use a cron, complete the following steps.

Procedure

  1. Open the Graphical Assignment application.
  2. Open a schedule.
  3. Go to the More Actions menu list.
  4. Select the menu option Populate Destination Travel Time Matrix.
  5. In the Populate Destination Travel Time Matrix window, take one of the following actions.
    • Enter one specific time to run the cron. Enter a value in the field At this Time.
    • Enter a recurring time to run the cron. Enter a value in the field Recurring.
  6. Enter an email address in the field email Address Notification.
  7. Click Save.

What to do next

Observe receipt of email notifications with information about when the cron runs. Decide whether you want to continue with the cron, or if you want to manually start the calculations.