3 [% INCLUDE 'doc-head-open.inc' %]
4 <title>Koha › Tools › Task scheduler</title>
5 [% INCLUDE 'doc-head-close.inc' %]
8 <body id="tools_scheduler" class="tools">
9 [% INCLUDE 'header.inc' %]
10 [% INCLUDE 'circ-search.inc' %]
12 <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>
14 <div id="doc3" class="yui-t2">
22 [% IF ( job_add_failed ) %]
23 <div class="dialog message">Failed to add scheduled task</div>
26 <form name="form1" action="scheduler.pl" method="post">
27 <input type="hidden" name="mode" value="job_add" />
29 <fieldset class="rows">
30 <legend>Task scheduler</legend><ol>
31 <li><span class="label">Current server time is:</span>
33 <li><label for="starttime">Time:</label>
34 <input type="text" name="starttime" id="starttime" value="" maxlength="5" size="5" /></li>
35 <li><label for="startdate">Date: </label> <input type="text" size="10" id="startdate" name="startdate" value="" />
36 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
38 <li><label for="report">Report:</label>
39 <select name="report" id="report">
40 [% FOREACH savedreport IN savedreports %]
41 [% IF ( savedreport.selected ) %]
42 <option value="[% savedreport.id %]" selected="selected">[% savedreport.report_name %]</option>
44 <option value="[% savedreport.id %]">[% savedreport.report_name %]</option>
49 <li><label for="format">Output format:</label>
50 <select name="format" id="format">
51 <option value="text">Text</option>
52 <option value="url">URL</option>
55 <li><label for="email">Email:</label>
57 <input type="text" name="email" id="email" size="50" />
60 <fieldset class="action"><input class="submit-button" type="submit" value="Save" /></fieldset>
63 [% IF ( JOBS ) %]<h2>Jobs already entered</h2>
70 [% FOREACH JOB IN JOBS %]
71 <form action="scheduler.pl" method="post">
72 <input type="hidden" name="mode" value="job_change" />
75 <td>[% JOB.TIME %]</td>
76 <td>[% JOB.TAG %]</td>
77 <td><input type="submit" name="delete" value="Delete" /></td>
79 <input type="hidden" name="jobid" value="[% JOB.JOBID %]" />
88 <div class="yui-b noprint">
89 [% INCLUDE 'tools-menu.inc' %]
90 [% INCLUDE 'guided-reports-view.inc' %]
94 [% MACRO jsinclude BLOCK %]
95 [% Asset.js("js/tools-menu.js") %]
96 [% INCLUDE 'calendar.inc' %]
97 <script type="text/javascript">
98 $(document).ready(function(){
99 $("#startdate").datepicker({ minDate: "+0D" });
104 [% INCLUDE 'intranet-bottom.inc' %]