4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>Task scheduler › Tools › Koha</title>
6 [% INCLUDE 'doc-head-close.inc' %]
9 <body id="tools_scheduler" class="tools">
10 [% WRAPPER 'header.inc' %]
11 [% INCLUDE 'circ-search.inc' %]
14 [% WRAPPER 'sub-header.inc' %]
15 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
21 <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
24 <a href="#" aria-current="page">
32 <div class="main container-fluid">
34 <div class="col-sm-10 col-sm-push-2">
37 <h1>Task scheduler</h1>
39 [% IF ( job_add_failed ) %]
40 <div class="dialog message">Failed to add scheduled task</div>
43 <form name="form1" action="scheduler.pl" method="post">
44 <input type="hidden" name="mode" value="job_add" />
46 <fieldset class="rows">
47 <legend>Task scheduler</legend><ol>
48 <li><span class="label">Current server time is:</span>
49 [% time | html %]</li>
50 <li><label for="starttime">Time:</label>
51 <input type="text" name="starttime" id="starttime" value="" maxlength="5" size="5" /></li>
53 <label for="startdate">Date: </label>
54 <input type="text" size="10" id="startdate" name="startdate" class="flatpickr" data-flatpickr-futuredate="true" value="" />
55 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
57 <li><label for="report">Report:</label>
58 <select name="report" id="report">
59 [% FOREACH savedreport IN savedreports %]
60 [% IF ( savedreport.selected ) %]
61 <option value="[% savedreport.id | html %]" selected="selected">[% savedreport.report_name | html %]</option>
63 <option value="[% savedreport.id | html %]">[% savedreport.report_name | html %]</option>
69 <label for="format">Output format:</label>
70 <select name="format" id="format">
71 <option value="text">Text (TSV)</option>
72 <option value="csv">CSV</option>
73 <option value="html">HTML</option>
76 <li><label for="email">Email:</label>
78 <input type="text" name="email" id="email" size="50" />
81 <fieldset class="action"><input class="submit-button" type="submit" value="Save" /></fieldset>
84 [% IF ( JOBS ) %]<h2>Jobs already entered</h2>
91 [% FOREACH JOB IN JOBS %]
92 <form action="scheduler.pl" method="post">
93 <input type="hidden" name="mode" value="job_change" />
96 <td>[% JOB.TIME | html %]</td>
97 <td>[% JOB.TAG | html %]</td>
98 <td><input type="submit" name="delete" value="Delete" /></td>
100 <input type="hidden" name="jobid" value="[% JOB.JOBID | html %]" />
106 </div> <!-- /.col-sm-10.col-sm-push-2 -->
108 <div class="col-sm-2 col-sm-pull-10">
110 [% INCLUDE 'tools-menu.inc' %]
111 [% INCLUDE 'guided-reports-view.inc' %]
113 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
114 </div> <!-- /.row -->
116 [% MACRO jsinclude BLOCK %]
117 [% Asset.js("js/tools-menu.js") | $raw %]
118 [% INCLUDE 'calendar.inc' %]
121 [% INCLUDE 'intranet-bottom.inc' %]