Topic 9.3.2-Create and Run the Jobs
Create and Run the Jobs
Running the Archive Job
Step:1 In the Wonderware MES Client, click System Management and then click Database Maintenance.
Now that you have completed the setup for this feature, run an Archive job.
Step:2 In the Database Maintenance field, right-click and then click New. The name for the Archive job is arbitrary, so it can be named anything. In this example, it is called Database Maintenance.
Step:3 In the Type drop-down list, click Archive.
Step:4 In the Properties pane, you can view Status and Details.
Step:5 Highlight the job and right-click it.
Step:6 Click Run to start the job manually.
In the Current Status column, the job status changes to Running.
Step:7 When the job is complete, the status in the Current Status field changes to Completed.
Running the job also creates a log file that you can view in order to see the job details. If the job fails, this is the first place to check and see what the cause might have been, and then correct it using the editor.
Step:8 Right-click the job and click View Logs.
Step:9 The following screenshot shows the content of the log file. If there are errors, this will give you an idea of what might have been the problem.
The following example shows the job is completed. If the job does not complete due to problems, an error is displayed in the Current Status column.