Enabling the auto-locate cron task
Maximo Anywhere provides a cron task, WoAutoLocateCronTask, that is set up to run the auto-locate function. By default, the cron task is not enabled because map support is optional in Maximo Anywhere. If you enable map capabilities, you must enable the cron task.
About this task
The WoAutoLocateCronTask runs the auto-locate function. This cron task includes two cron task instances:
- By default, the WoAutoLocateInstance instance selects work orders that have a scheduled or target start date that occurs within two days of the current time. Schedule this instance to run every 24 hours so that positioning information is updated or added to all work orders that are due to start within two days.
- By default, the EmergentWoTask instance selects work orders that were approved or started in the 5-minute period before the current time. Schedule this instance with the frequency that work orders might be approved or started so that positioning information is updated or added to these work orders.
You can change the work order selection criteria for both cron task instances by modifying the WO_WHERECLAUSE parameter. For the EmergentWoTask instance, you can modify the EMERG_WO_TIME parameter.