autotasker/README.md

1.1 KiB

Autotasker

Autotasker is a small server-side job runner and scheduler.

Autotasker free software licenced under GPLv3.

Getting started

  • Create a config file to define your tasks.
  • Deploy the server (using git clone + cargo or docker or binary + systemd service).
  • Enjoy!

Philosophy

Unix-like

  • Small.
  • Can be configured with a file.
  • Can be interfaced easily.

Features

  • List the tasks availables.
  • Run tasks in background.
  • Store the logs and tasks runs in a sqlite DB.
  • Schedule tasks (CRON-like).
  • OpenMetrics exporter to alert when a task failed.
  • External alerting when a task failed.
  • Run task via webhook, with a webhook token.
  • Content negociation with JSON or HTML.
  • OAuth2 support for admin.

Vocabulary

  • Task is a configured command to be run.
  • TaskRun refer to a singular task run.

Built with

  • Axum for web server.
  • Tera for templating.
  • Sqlx to interact with Sqlite.
  • Sqlite for storing state and logs.