<html>
<head>
$$.!DPage:LeftBarJavascript.
</head>
$$./JSAlert.
<script>
alert("$$.JSMessage.");
</script>
$$.JSAlert/.
<body text=#000000 link=#000066 vlink=006699 alink=#0066ff bgcolor=#ffffff>
<form action="$$.ServletPath.">
$$.SessionHidden.
$$.!FQUIDHidden.
<table>
<th bgcolor="#ccddcc" colspan=3><br><font size=+1>Job Dispatch</font><br><br></th>
<tr>
 <td align=center bgcolor="#cccccc"><b>Job to Execute</b></td>
 <td bgcolor=#ddcccc>
   <select name="JobType">
   <option value=1>Generate Random Numbers</option>
   <option value=2>Generate List of Users Logged in</option>
   </select>
 </td>
 <td bgcolor=#ddcccc>There are two different jobs you can run:<br><br>
     <b>Random Numbers Job</b> - Generates a report with 25 random numbers<br><br>
     <b>Logged In Users Job</b> - Generates a report with the names of the logged in users<br>
</td>
</tr>
<tr>
  <td align=center bgcolor="#cccccc"><b>Delay Factor</b></td>
  <td bgcolor=#ddcccc>
    <select name="PauseTime">
    <option>0</option>
    <option>100</option>
    <option selected>200</option>
    <option>500</option>
    </select> millisecond pauses
  </td>
  <td bgcolor=#ddcccc>
    Because these are ficticious reports, they require very little time to compute.  To simulate the job taking an extended period of time, you may wish to increase the delay factor assosicated with the job.
  </td>
</tr>
<tr>
  <td align=center bgcolor="#cccccc"><b>Return Format</b></td>
  <td bgcolor=#ddcccc>
    <select name="Format">
    <option value=1>Microsoft Word</option>
    <option value=2>Microsoft Excel</option>
    <option value=3>HTML</option>
    <option value=4>Text</option>
    </select>
  </td>
  <td bgcolor=#ddcccc>Jobs support returning in a number formats nativly suitable for office applications.  Try returning in a few different formats to see different formats of the data.
  </td>
</tr>
<tr>
  <td align=center rowspan=2 bgcolor="#cccccc"><b>Options</b></td>
  <td bgcolor=#ddcccc>
    <input type=checkbox name=Foreground> Run job in foreground<br>
  </td>
  <td bgcolor=#ddcccc>This will make the job run in the foreground, instead of running the job in the background.  Often this is
desirable in a web application when executing job status is more important then allowing the user to continue freely
  </td>
</tr>
  <td bgcolor=#ddcccc> 
    <input type=checkbox name=Crash> Crash during operations
  </td>
  <td bgcolor=#ddcccc>Often debugging programs run in seperate "threads" is difficult because crashes and problems happen in the background.  This doesn't have to be so with the Jobs Manager.  The Job Manager automatically captures the error for the programmer to later debug.  Activate this option to simulate a crash in the middle of executing the job.
  </td>
</tr>
<tr>
  <td align=center colspan=2>
    <input type=submit name="StartJob" value="Start Job">
  </td>
</tr>
</table>
</form>
</body>
</html>