View on GitHub

pytaskr

Pytaskr is a lightweight task scheduler implemented in Python

PyTaskr

PyTaskr is a lightweight task scheduler implemented in Python. Scheduling tasks with it requires writing plugins for the system. Plugins contain the schedule and operations for tasks, see the helloworld plugin for a simple example. Plugins can specify their task schedule via crontab-like schedules (e.g. 5 15 * * * would run at 3:05pm).

Plugins

Docker

A Docker image is available for this plugin on Dockerhub, if you would like to use it. In order to run it locally with your own plugins, you should first create your plugins (see the helloworld example plugin) and place them in a plugins directory. Then start the container with docker run --rm -d --name pytaskr -v /path/to/your/plugins:/app/plugins pylios/pytaskr:latest (replacing the first path with the path to the plugins folder you created).

Alternatively, a Dockerfile is provided in the repository, so that you can build your own image if desired.

Crontab Reference

You might find crontab guru helpful in crafting crontab schedules for your tasks.

Note: crontab schedules are in UTC.

* * * * *

Crontab Examples