tickerd

command module
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2021 License: MIT Imports: 13 Imported by: 0

README

tickerd

A Docker process scheduler.

Usage

$ tickerd -interval=1h -- run-backup.sh

Dockerfile

FROM alpine:latest

RUN apk add --no-cache bash

RUN wget -O /usr/bin/tickerd https://github.com/josh/tickerd/releases/latest/download/tickerd-linux-amd64 && chmod +x /usr/bin/tickerd

CMD ["echo", "Hello, World!"]
ENTRYPOINT ["/usr/bin/tickerd"]

ENV TICKERD_HEALTHCHECK_PORT 9000
HEALTHCHECK --interval=30s --timeout=3s --start-period=3s --retries=1 \
  CMD ["/usr/bin/tickerd", "-healthcheck"]

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL