Skip to main content

A lightweight python script scheduler

Project description

gluetube

A python script scheduler with a shared local database. Meant to enable easy automation and integration of infrastructure and systems. Like cron, but with more bells and whistles.

installation

There are two ways to deploy gluetube.

  • docker
  • virtual machine / bare metal

docker

  1. docker volume create gluetube-cfg

  2. docker volume create gluetube-db

  3. docker run -d --init -v gluetube-cfg:/home/gluetube/.gluetube/etc -v gluetube-db:/home/gluetube/.gluetube/db ctomkow/gluetube

VM

  1. adduser gluetube

  2. pip install --user gluetube

  3. gt --configure

  4. gt --initdb

  5. gt daemon --background

example usage

gt --help

gt summary

gt schedule 1 --now

pipeline development

You are meant to develop your own pipelines in python for gluetube. The following is a brief description of how to get your development environment setup.

  1. docker pull ctomkow/gluetube

  2. docker volume create gluetube-db

  3. docker volume create gluetube-cfg

  4. docker run -itd --name gluetube --net=host -v gluetube-db:/home/gluetube/.gluetube/db -v gluetube-cfg:/home/gluetube/.gluetube/etc ctomkow/gluetube:latest

  5. Use VS code. Attach VS code to running container. Clone your pipeline repository inside your VS code instance attached to the container. Update ~/.gluetube/etc/gluetube.cfg and point config to your pipeline directory

roadmap

gluetube roadmap

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gluetube-0.1.0.dev7.tar.gz (28.6 kB view hashes)

Uploaded Source

Built Distribution

gluetube-0.1.0.dev7-py3-none-any.whl (34.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page