<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<title>Understanding scheduled tasks</title>

<base target="_top">
<link rel="stylesheet" href="basicpg.css">
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#0000FF" vlink="#333399" alink="#0000FF">

<h1>Understanding scheduled tasks</h1>
<p>The HP Storage Manager Task Scheduler allows you to run lengthy operations at a
  convenient time, such as a <a href="cldmigra.htm">logical device migration</a>
  or <a href="csynchld.htm">verifying a logical device</a>.

  All schedulable tasks work the same way: To schedule a migration, for example, you
  perform the standard set of steps; then, in the last step, you can choose to run the
  task immediately or to schedule it for another time.</p>
  <p>

  You can run the task at the given
  date and time or make it a recurring task. If the task is recurring, it runs
  on a regular basis according to the interval you choose: the same time each
  day, the same time each week, or the same time each month. Not all tasks can
  be recurring tasks. For example, a logical device migration cannot be a recurring
  task. </p>
<p>The <a href="mtskmain.htm">Task Manager</a> is a tool that you can use to manage
  scheduled tasks. It allows you to:</p>
<ul>
  <li><a href="atskmod.htm">Modify a task's schedule</a></li>
  <li><a href="atskdel.htm">Delete a scheduled task</a></li>
  <li><a href="atskprop.htm">View task properties</a></li>
</ul>
<h2>Start time validation</h2>
<p>When you schedule a task, it executes on the agent machine which may be a remote
  machine in a different time zone. To prevent scheduling problems due to time
  differences between the agent and client machines, the Task Scheduler performs
  the following checks: </p>
<ul>
  <li>To accommodate differences in times zones, you can schedule a task up to
    23 hours in the past, pending approval by the agent.<br>
  </li>
  <li> If the agent determines that the task is scheduled in the past (based on
    the local time on the agent machine), it will reject the task and you will
    be prompted to select a different date and time.</li>
</ul>
<h2>Missed start times</h2>
<p>If a non-recurring task misses its start time, the Task Manager flags it with
  an error. You must <a href="atskmod.htm">modify the task schedule</a> if you
  want to run it at another time. </p>
<p>If a <a href="grecur.htm">recurring task</a> misses its start time, it is rescheduled
  to run at the next scheduled interval. Example: a recurring task runs every
  Monday at 1:00 AM. The agent machine is powered off at that time. When you restart
  the agent machine, the missed task is rescheduled to run the following Monday
  at 1:00 AM.</p>
<p><img src="images/note.gif" width="15" height="17"><b> Note:</b> To accommodate
  temporary or brief interruptions on the agent machine, each task has a 30-minute
  grace period built into its start time. Example: a task is scheduled to run
  at 10:00 PM. A power outage lasts 20 minutes, from 9:55 PM to 10:15 PM. The
  task runs at 10:15 PM. </p>
<h2>Error conditions</h2>
<p>When a scheduled task does not run successfully, the Task Manager displays
  an error icon and updates the &quot;Status&quot; column with an Error. If a
  task misses its start time, it is flagged with a warning error condition. You
  must <a href="atskmod.htm">reschedule</a> the task to clear the error. If the
  error is non-recoverable it is considered critical. You must <a href="atskdel.htm">delete
  the task</a> from the Task Manager; to reschedule it, you must create a new
  task. To see details about the error, use <a href="atskprop.htm">View task properties</a>;
  examine the Error Description field for a description of what went wrong and
  what caused the task to fail.</p>
<p>
<h2>More information</h2>

<ul>
  <li><a href="asynchld.htm">Verify with fix logical devices (action)</a></li>
  <li><a href="averifyld.htm">Verifying logical devices (action)</a></li>
  <li><a href="cldmigra.htm">Understanding logical device migration</a></li>
  <li><a href="mtskmain.htm">Using the Task Manager</a></li>
  <li><a href="astartsk.htm">Starting the Task Manager</a></li>
  <li><a href="atskdel.htm">Deleting a scheduled task</a></li>
  <li><a href="atskmod.htm">Modifying a scheduled task</a></li>
  <li><a href="atskprop.htm">Viewing task properties</a></li>
  <li><a href="cagent.htm">Using the HP Storage Manager agent</a></li>
</ul>

<div align="center">
  <hr>
  <a href="gportal.htm">Glossary</a> | <a href="menutoc.htm">Contents</a></div>
<p>&nbsp;</p>
<p align="right">x-1099-HSM-00-06-EN </p>

</body>

</html>
