More work for cleaning up old activities
This commit is contained in:
parent
363dbf4b6a
commit
27622813ec
5 changed files with 222 additions and 147 deletions
|
@ -6,6 +6,33 @@
|
|||
{% include "header.html" %}
|
||||
<div style="margin-top:50px;">
|
||||
|
||||
<h3>Cron</h3>
|
||||
<table class="pure-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>URL</th>
|
||||
<th>Payload</th>
|
||||
<th>Schedule</th>
|
||||
<th>Next run</th>
|
||||
<th>Response</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
{% for task in dead %}
|
||||
<tr>
|
||||
<td>{{ task.task_id }}</td>
|
||||
<td>{{ task.url }} ({{ task.expected }})</td>
|
||||
<td>{{ task.payload }}</td>
|
||||
<td>{{ task.schedule }}</td>
|
||||
<td>{{ task.next_run }}</td>
|
||||
<td>Tries #{{ task.tries }}: {{ task.last_error_body }} ({{ task.last_error_status_code }})</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<h3>Dead</h3>
|
||||
<table class="pure-table">
|
||||
<thead>
|
||||
|
@ -22,7 +49,7 @@
|
|||
{% for task in dead %}
|
||||
<tr>
|
||||
<td>{{ task.task_id }}</td>
|
||||
<td>{{ task.url }} ({{ task.expected }}</td>
|
||||
<td>{{ task.url }} ({{ task.expected }})</td>
|
||||
<td>{{ task.payload }}</td>
|
||||
<td>{{ task.next_run }}</td>
|
||||
<td>Tries #{{ task.tries }}: {{ task.last_error_body }} ({{ task.last_error_status_code }})</td>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue