Scheduled Tasks
Pro feature, admin-only
Scheduled tasks can restart or auto-update any container on the host, so only admin role users can manage them.
Automate routine host maintenance on a cron schedule from Scheduled Tasks.
Task Types
- Prune unused images —
docker image pruneequivalent - Prune unused volumes —
docker volume pruneequivalent - Restart a container — pick any container on the host from a live dropdown
- Auto-update a container (watchtower-style) — see below
Auto-update, Explained
This is a minimal, self-contained version of what Watchtower does:
- Inspect the target container to get its current image reference and image ID
- Pull that image reference fresh
- Compare the newly-pulled image's ID against the container's current one
- If they differ, stop and remove the old container, then recreate it in place — same name, environment, port bindings, volumes, and restart policy — on the new image, and start it
- If they're the same, it's a no-op — logged as "already up to date"
This works against any container on the host, not just ones DockPod deployed.
Schedule Format
Standard 5-field cron expressions (minute hour day month weekday). The create dialog includes quick presets — Every 15 minutes, Every hour, Every day at midnight, Every Sunday at midnight — or you can type a custom expression.
Enable/Disable
Toggle a task on or off directly from the list without opening the edit dialog — a disabled task's cron entry is removed from the scheduler immediately, not just hidden in the UI.
History
Every run records its outcome — success/failed status, a human-readable result message (e.g. "pruned 2 image(s), reclaimed 45MB"), and a timestamp — visible on the task's card.