Skip to content

richtr/docker-jobber

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

Docker Jobber

A minimal setup for running Jobber via Supervisor in a Docker container.

Usage

Pulling the images from Dockerhub:

$ docker pull richtr/docker-jobber

Jobber needs a .jobber file to schedule tasks to run. You can attach it at /root/.jobber in the container with a volume:

$ echo "---
- name: HelloWorld
  cmd: echo hello world
  time: 1
" >> .jobber
$ docker run --name my-docker-jobber -v $(pwd)/.jobber:/root/.jobber:ro richtr/docker-jobber

To view the latest jobber activity on the running Docker container we can use docker logs <CONTAINER>:

$ docker logs my-docker-jobber

Docker Compose

You can use this project to create your own images by adding a .jobber file to the same directory as your docker-compose.yml file and simply add your own .jobber file with your image:

FROM richtr/docker-jobber

ADD .jobber /root/.jobber

# ...

Feedback

If you find any bugs or issues please report them on the Issue Tracker.

If you would like to contribute to this project please consider forking this repo, making your changes and then creating a new Pull Request back to the main code repository.

About

A minimal Docker container for running Jobber (cron-replacement) tasks

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published