diff --git a/app/pages/admin/scheduler/[id]/index.vue b/app/pages/admin/scheduler/[id]/index.vue new file mode 100644 index 0000000..4eee01a --- /dev/null +++ b/app/pages/admin/scheduler/[id]/index.vue @@ -0,0 +1,124 @@ + + + + + + ← Back to tasks + + + + + + + {{ task.name }} + + {{ task.cronExpression }} · {{ task.type }} + + + + Trigger Now + + {{ task.enabled ? 'Pause' : 'Resume' }} + + + + + + + Configuration + + Type + {{ task.type }} + + Function + {{ task.functionName }} + Payload + {{ task.functionPayload }} + + + Method + {{ task.httpMethod }} + URL + {{ task.httpUrl }} + + Catch Up + {{ task.catchUp ? 'Yes' : 'No' }} + Retries + {{ task.maxRetries }} + Timeout + {{ task.timeoutSeconds }}s + Created + {{ new Date(task.createdAt).toLocaleString() }} + + + + + + Recent Executions + + No executions yet + + + + + {{ log.status }} + + + {{ timeAgo(log.startedAt) }} + + + {{ log.resultSummary }} + + + + + + + + Task not found. + + +
+ {{ task.cronExpression }} · {{ task.type }} +
{{ task.functionPayload }}