rootless cron scheduler with cmd-socket command
These are the main tags for the image. There is also a tag for each commit and its shorthand sha256 value.
What can I do with this? This image will give you the ability to execute cron jobs in a complete rootless environment. It also contains the cmd
command to execute commands inside other images that use the cmd-socket binary.
name: "cron"
services:
cron:
image: "11notes/cron:4.6"
container_name: "cron"
environment:
TZ: "Europe/Zurich"
CRONTAB: |-
* * * * * eleven log info "I run every minute" > /proc/1/fd/1
0 3 * * * cmd /run/cmd/.sock backup > /proc/1/fd/1
restart: "always"
Parameter | Value | Description |
---|---|---|
user |
docker | user name |
uid |
1000 | user identifier |
gid |
1000 | group identifier |
home |
/cron | home directory of user docker |
Parameter | Value | Default |
---|---|---|
TZ |
Time Zone | |
DEBUG |
Will activate debug option for container image and app (if available) |
- Use a reverse proxy like Traefik, Nginx, HAproxy to terminate TLS and to protect your endpoints
- Use Let’s Encrypt DNS-01 challenge to obtain valid SSL certificates for your services
This image is provided to you at your own risk. Always make backups before updating an image to a different version. Check the releases for breaking changes. If you have any problems with using this image simply raise an issue, thanks. If you have a question or inputs please create a new discussion instead of an issue. You can find all my other repositories on github.
created 12.3.2025, 08:52:45 (CET)