Creating scheduled tasks
You can schedule tasks for Copy Services Manager.
About this task
The scheduled tasks can consist of one or more actions, including issuing commands, and waiting for states.
The wait for state action ensures that the next action in the list does not occur until the session is in the right state. The list of actions that you create in the wizard occur sequentially, one after the other. So the Wait for State action delays the next action in the task from running until the specified state is reached. The task fails if the state is not reached.
Perform the following steps to schedule a task:
Procedure
Results
- Name
- The scheduled task name.
- Type
- Indicates the type of the scheduled task.
- Affected Sessions
- The sessions that are used for the scheduled task to run.
- Status
- Indicates whether the task is enabled, disabled, or running.
- Schedule
- The time and days of week that this task is scheduled to run.
- Next Run Time
- Shows the date and time of when the scheduled task will run next. When you use an hourly schedule, the scheduling is set by dividing a 24-hour day into the number of intervals that you want. For example, if you wanted to run the task every 3 hours, that would equal eight times per day. In this example, starting at midnight, the day is divided into eight intervals. If you require a specific time of the day for the task to start, use the Daily/Weekly schedule.
- Last Run Time
- The date and time of when the scheduled task ran the last time.
- Last message
- Shows the message ID of the status from the last run. To see more details, click the message to open the Help page.
You can filter and customize the scheduled tasks list as previously described for the session table in the scheduled tasks wizard.
Modifying a scheduled task
You can modify scheduled tasks.
About this task
Follow these steps to modify a scheduled task:
Procedure
Results
Removing a scheduled task
You can remove a scheduled task.
About this task
Follow these steps to remove one or more scheduled tasks:
Procedure
- Log in to the Copy Services Manager GUI as a user with administrator privileges.
- Click .
- From the table, select the scheduled task or tasks that you want to remove.
- Click .
- A warning message is displayed for confirmation. Click Yes to remove the selected task or tasks. Click No to exit without removing the selected task or tasks.
- If you click Yes, a message appears indicating that the selected task or tasks have been removed.
Results
Enabling a scheduled task
You can enable a scheduled task to run according to the preset schedule.
About this task
When a task is initially created, it is put into a disabled state. The Enable command starts the task so that the timer begins running. The task executes based on the schedule that you set for it.
Follow these steps to enable one or more scheduled tasks:
Procedure
- Log in to the Copy Services Manager GUI as a user with administrator privileges.
- Click .
- From the table, select the scheduled task or tasks that you want to enable.
- Click .
- A warning message is displayed for confirmation. Click Yes to enable the task. Click No to exit without enabling the task.
- If you click Yes, a message appears indicating that the selected task or tasks were enabled.
Results
Disabling a scheduled task
You can disable a scheduled task that has been started with the Enable command.
About this task
When a task is initially created, it is put into a disabled state. The Enable command starts the task so that the timer begins running. The task executes based on the schedule that you set for it. The Disable command can be used to stop an enabled, scheduled task.
Follow these steps to disable one or more enabled, scheduled tasks:
Procedure
- Log in to the Copy Services Manager GUI as a user with administrator privileges.
- Click .
- From the table, select the enabled, scheduled task or tasks that you want to disable.
- Click .
- A warning message is displayed for confirmation. Click Yes to disable the task. Click No to exit without disabling the task.
- If you click Yes, a message appears indicating that the selected task or tasks were disabled.
Results
Running a scheduled task
You can run a scheduled task.
About this task
The Run command is different from the Enable command. It forces the task to run immediately without regard to the schedule. The task can also be run from a disabled state.
Follow these steps to run one or more scheduled tasks:
Procedure
- Log in to the Copy Services Manager GUI as a user with administrator privileges.
- Click .
- From the table, select the scheduled task or tasks that you want to run.
- Click .
- A warning message is displayed for confirmation. Click Yes to run the task. Click No to exit without running the task.
- If you click Yes, a message appears indicating that the selected task or tasks will start running.