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 [% INCLUDE 'header.inc' %]
11 [% INCLUDE 'circ-search.inc' %]
13 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
19 <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
22 <a href="#" aria-current="page">
29 <div class="main container-fluid">
31 <div class="col-sm-10 col-sm-push-2">
34 [% IF ( job_add_failed ) %]
35 <div class="dialog message">Failed to add scheduled task</div>
38 <form name="form1" action="scheduler.pl" method="post">
39 <input type="hidden" name="mode" value="job_add" />
41 <fieldset class="rows">
42 <legend>Task scheduler</legend><ol>
43 <li><span class="label">Current server time is:</span>
44 [% time | html %]</li>
45 <li><label for="starttime">Time:</label>
46 <input type="text" name="starttime" id="starttime" value="" maxlength="5" size="5" /></li>
48 <label for="startdate">Date: </label>
49 <input type="text" size="10" id="startdate" name="startdate" class="flatpickr" data-flatpickr-futuredate="true" value="" />
50 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
52 <li><label for="report">Report:</label>
53 <select name="report" id="report">
54 [% FOREACH savedreport IN savedreports %]
55 [% IF ( savedreport.selected ) %]
56 <option value="[% savedreport.id | html %]" selected="selected">[% savedreport.report_name | html %]</option>
58 <option value="[% savedreport.id | html %]">[% savedreport.report_name | html %]</option>
64 <label for="format">Output format:</label>
65 <select name="format" id="format">
66 <option value="text">Text (TSV)</option>
67 <option value="csv">CSV</option>
68 <option value="html">HTML</option>
71 <li><label for="email">Email:</label>
73 <input type="text" name="email" id="email" size="50" />
76 <fieldset class="action"><input class="submit-button" type="submit" value="Save" /></fieldset>
79 [% IF ( JOBS ) %]<h2>Jobs already entered</h2>
86 [% FOREACH JOB IN JOBS %]
87 <form action="scheduler.pl" method="post">
88 <input type="hidden" name="mode" value="job_change" />
91 <td>[% JOB.TIME | html %]</td>
92 <td>[% JOB.TAG | html %]</td>
93 <td><input type="submit" name="delete" value="Delete" /></td>
95 <input type="hidden" name="jobid" value="[% JOB.JOBID | html %]" />
101 </div> <!-- /.col-sm-10.col-sm-push-2 -->
103 <div class="col-sm-2 col-sm-pull-10">
105 [% INCLUDE 'tools-menu.inc' %]
106 [% INCLUDE 'guided-reports-view.inc' %]
108 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
109 </div> <!-- /.row -->
111 [% MACRO jsinclude BLOCK %]
112 [% Asset.js("js/tools-menu.js") | $raw %]
113 [% INCLUDE 'calendar.inc' %]
116 [% INCLUDE 'intranet-bottom.inc' %]