Skip to main content
Image Layers

Cron-like Plugin for autodock.

This plugin runs containers on a regular scheduled as defined by the environment variable CRON of the form m h d mon dow much like crond on many Linux/UNIX systems.

The container must first be run at least once for autodock-cron to pick up the new container and its configuration.

Note that autodock-cron makes use of the Docker API and effectively calls docker start on your container; a new container is NOT created on very run of the schedule.

Basic Usage

Start the daemon:

$ docker run -d --name autodock prologic/autodock

Link and start an autodock plugin:

$ docker run -d --link autodock prologic/autodock-cron

Run a container of your choice and set CRON=*/1 * * * * to run every minute:

$ docker run --name hello -e CRON="*/1 * * * *" busybox sh -c 'echo Hello'

Now autodock-cron will schedule a timer to re-run this container every minute until the container is deleted and removed. After about ~3mins you should get:

$ docker logs hello
Hello
Hello
Hello

Metadata

Release files for autodock-cron 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autodock-cron 0.0.2
File Size Uploaded
autodock-cron-0.0.2.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for autodock-cron 0.0.2
File Interpreter ABI Platform
autodock_cron-0.0.2-cp27-none-macosx_10_10_x86_64.whl CPython 2.7 none macOS 10.10+ x86-64 Details

Total release size: 8.2 kB

Release files / autodock-cron-0.0.2.tar.gz

Download URL autodock-cron-0.0.2.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
21079650d6a99f7fe6ce09f78fd7b9fea5200c4960b530f44fc05822692c9a86
BLAKE2b-256 checksum
How to use checksums
e811a2f19a16361ea0cc06bf48358794a9cf51a72d327860422a9214c83a189e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / autodock_cron-0.0.2-cp27-none-macosx_10_10_x86_64.whl

Download URL autodock_cron-0.0.2-cp27-none-macosx_10_10_x86_64.whl
Size 5.1 kB
Tags CPython 2.7 macOS 10.10+ x86-64
SHA-256 checksum
How to use checksums
070633fdc334a158b4d1cb113bd2c4d89b9b3624cc9f872f5db2be99bcb9b2d3
BLAKE2b-256 checksum
How to use checksums
63d8130e89d1547b2e1b681069a42c883726e33d29b867e61e1173eb3d65eae2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page