1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Tools › Task Scheduler</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 [% INCLUDE 'calendar.inc' %]
7 [% INCLUDE 'header.inc' %]
8 [% INCLUDE 'circ-search.inc' %]
10 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › <strong>Task Scheduler</strong></div>
12 <div id="doc3" class="yui-t2">
20 [% IF ( job_add_failed ) %]
21 <div class="dialog message">Failed to add scheduled task</div>
24 <form name="form1" action="scheduler.pl" method="post">
25 <input type="hidden" name="mode" value="job_add" />
27 <fieldset class="rows">
28 <legend>Task Scheduler</legend><ol>
29 <li><span class="label">Current server time is:</span>
31 <li><label for="starttime">Time:</label>
32 <input type="text" name="starttime" id="starttime" value="" maxlength="5" size="5" /></li>
33 <li><label for="startdate">Date: </label> <input type="text" size="10" id="startdate" name="startdate" value="" />
34 <img src="[% themelang %]/lib/calendar/cal.gif" border="0" alt="Show Calendar" id="openCalendarStartdate" style="cursor: pointer;" />
36 <script type="text/javascript">
39 inputField : "startdate",
40 ifFormat : "[% DHTMLcalendar_dateformat %]",
41 button : "openCalendarStartdate"
45 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
47 <li><label for="report">Report:</label>
48 <select name="report" id="report">
49 [% FOREACH savedreport IN savedreports %]
50 [% IF ( savedreport.selected ) %]
51 <option value="[% savedreport.id %]" selected="selected">[% savedreport.report_name %]</option>
53 <option value="[% savedreport.id %]">[% savedreport.report_name %]</option>
58 <li><label for="format">Output Format:</label>
59 <select name="format" id="format">
60 <option value="text">Text</option>
61 <option value="url">url</option>
64 <li><label for="email">Email:</label>
66 <input type="text" name="email" id="email" size="50" />
69 <fieldset class="action"><input class="submit-button" type="submit" value="Save" /></fieldset>
72 [% IF ( JOBS ) %]<h2>Jobs already entered</h2>
79 [% FOREACH JOB IN JOBS %]
80 <form action="scheduler.pl" method="post">
81 <input type="hidden" name="mode" value="job_change" />
84 <td>[% JOB.TIME %]</td>
85 <td>[% JOB.TAG %]</td>
86 <td><input type="submit" name="delete" value="Delete" /></td>
88 <input type="hidden" name="jobid" value="[% JOB.JOBID %]" />
97 <div class="yui-b noprint">
98 [% INCLUDE 'tools-menu.inc' %]
99 [% INCLUDE 'guided-reports-view.inc' %]
102 [% INCLUDE 'intranet-bottom.inc' %]