Job Management Partner 1/Software Distribution Setup Guide
![[Contents]](FIGURE/CONTENT.GIF)
![[Glossary]](FIGURE/GLOSS.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
A task for Asset Information Manager Subset that has been created in Windows Task Scheduler is disabled by default. To use the task, you must enable it.
Also, for details about running tasks in a 64-bit OS, see 10.11(2) Notes on executing commands and tasks on a 64-bit OS.
To enable or disable a task registered in Task Scheduler:
- On Windows Control Panel, double-click the Scheduled Tasks icon.
The Scheduled Tasks window appears.
- Select the task that you want to enable (or disable) and display its properties.
The selected task's Properties dialog box appears.
- On the Task page, select the Enabled [scheduled task runs at specified time] check box.
To disable the task, clear this check box.
- If you are using Windows Server 2003(x64), you need to change the file specified in Run.
- Click the OK button.
The task is enabled (or disabled), and the task's Properties dialog box closes.
The results of task execution are confirmed from the Scheduled Tasks window, which is started by double clicking the Scheduled Tasks icon in the Windows control panel.
Switch the Scheduled Tasks window to detailed display, then confirm the return value displayed for Last Result. For details, see the file ASTMESn.log.
The table below shows the Run setting for each task.
In the table, AIM indicates the Asset Information Manager Subset installation folder.
Table 10-9 Run setting for each task
Task name |
Run setting |
Data maintenance |
"AIM\exe\jamscript.exe" -f "AIM\scriptbatch\DataMaintenance.txt" |
Delete change log |
"AIM\exe\jamscript.exe" -f "AIM\scriptbatch\RemoveRecord.txt" -s TARGET=A -s MONTH=6 |
Take inventory |
"AIM\exe\jamTakeDMInventory.bat" |
Acquiring directory information |
"AIM\exe\jamscript.exe" -f "AIM\scriptbatch\DMDirectory.txt" |
You can change a task's execution date and time. You can also add a schedule.
- Changing the execution date and time
To change a task execution date and time:
- On the Windows Control Panel, double-click the Scheduled Tasks icon.
The Scheduled Tasks window appears.
- Select the task whose execution date and time are to be changed and display its properties.
The selected task's Properties dialog box appears.
- On the Schedule page, change Schedule Task and Start time.
- Click the OK button.
The task is modified to the specified schedule, and the task's Properties dialog box closes.
- Adding an execution schedule
To add a task execution schedule:
- On the Windows Control Panel, double-click the Scheduled Tasks icon.
The Scheduled Tasks window appears.
- Select the task for which a schedule is to be added and display its properties.
The selected task's Properties dialog box appears.
- On the Schedule page, select the Show multiple schedules check box.
At the top of the Schedule page, a pull-down list of schedules and the New and Delete buttons appear.
- Click the New button.
The schedule is added to the pull-down list.
- Set Schedule Task and Start time for the new schedule.
- Click the OK button.
The new schedule is added to the task, and the task's Properties dialog box closes.
To delete an unneeded task:
- On the Windows Control Panel, double-click the Scheduled Tasks icon.
The Scheduled Tasks window appears.
- Select the task you wish to delete, and then from the File menu, choose Delete.
The selected task is deleted.
You can check the execution results of a task in the Scheduled Tasks window that is displayed when the Scheduled Tasks icon is double-clicked.
Set the Scheduled Tasks window to the detail view and check the return value that is displayed in Last Result. For details about the displayed information, see ASTMESn.log.
The following table describes the return values.
Return value |
Description |
0x0 |
Normal end. |
0x1 |
No corresponding data was found. |
0x2 or greater |
Terminated with some other error. |
All Rights Reserved. Copyright (C) 2009, 2013, Hitachi, Ltd.
Copyright, patent, trademark, and other intellectual property rights related to the "TMEng.dll" file are owned exclusively by Trend Micro Incorporated.