1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Tools › Task scheduler</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 [% INCLUDE 'calendar.inc' %]
5 <script type="text/JavaScript">
7 $(document).ready(function(){
8 $("#startdate").datepicker({ minDate: "+0D" });
13 <body id="tools_scheduler" class="tools">
14 [% INCLUDE 'header.inc' %]
15 [% INCLUDE 'circ-search.inc' %]
17 <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>
19 <div id="doc3" class="yui-t2">
27 [% IF ( job_add_failed ) %]
28 <div class="dialog message">Failed to add scheduled task</div>
31 <form name="form1" action="scheduler.pl" method="post">
32 <input type="hidden" name="mode" value="job_add" />
34 <fieldset class="rows">
35 <legend>Task scheduler</legend><ol>
36 <li><span class="label">Current server time is:</span>
38 <li><label for="starttime">Time:</label>
39 <input type="text" name="starttime" id="starttime" value="" maxlength="5" size="5" /></li>
40 <li><label for="startdate">Date: </label> <input type="text" size="10" id="startdate" name="startdate" value="" />
41 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
43 <li><label for="report">Report:</label>
44 <select name="report" id="report">
45 [% FOREACH savedreport IN savedreports %]
46 [% IF ( savedreport.selected ) %]
47 <option value="[% savedreport.id %]" selected="selected">[% savedreport.report_name %]</option>
49 <option value="[% savedreport.id %]">[% savedreport.report_name %]</option>
54 <li><label for="format">Output format:</label>
55 <select name="format" id="format">
56 <option value="text">Text</option>
57 <option value="url">URL</option>
60 <li><label for="email">Email:</label>
62 <input type="text" name="email" id="email" size="50" />
65 <fieldset class="action"><input class="submit-button" type="submit" value="Save" /></fieldset>
68 [% IF ( JOBS ) %]<h2>Jobs already entered</h2>
75 [% FOREACH JOB IN JOBS %]
76 <form action="scheduler.pl" method="post">
77 <input type="hidden" name="mode" value="job_change" />
80 <td>[% JOB.TIME %]</td>
81 <td>[% JOB.TAG %]</td>
82 <td><input type="submit" name="delete" value="Delete" /></td>
84 <input type="hidden" name="jobid" value="[% JOB.JOBID %]" />
93 <div class="yui-b noprint">
94 [% INCLUDE 'tools-menu.inc' %]
95 [% INCLUDE 'guided-reports-view.inc' %]
98 [% INCLUDE 'intranet-bottom.inc' %]