swarm-cronjob
ofelia
Our great sponsors
swarm-cronjob | ofelia | |
---|---|---|
5 | 21 | |
700 | 2,802 | |
- | - | |
7.9 | 7.5 | |
7 days ago | 8 days ago | |
Go | Go | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
swarm-cronjob
-
Efficiency between docker restart and container with sleep
Anything from simple crontab entry to something like this: https://crazymax.dev/swarm-cronjob/
-
How do you evaluate if a tool is trustworthy?
So, I found a really nice little tool that solves a problem I have in a really nice way. Specifically, cron jobs on Docker Swarm. This project: https://github.com/crazy-max/swarm-cronjob It uses labels on your services to schedule jobs. Thus it needs access to the docker api, and all the security concerns that go along with it...
-
Rancher Desktop, a Docker Desktop Replacement
As i said, if it's not exposed to the outside world and doesn't work with untrusted data, that claim is not entirely valid.
Imagine something like this getting abandoned, or someone running a year old version of it: https://github.com/crazy-max/swarm-cronjob/blob/master/READM...
Its only job is to run containers on a particular schedule, no more no less. There are very few attack vectors for something like that, considering that it doesn't talk to the outside world, nor processes any user input data.
Then again, it's not my job to pass judgement on situations like that, merely acknowledge that they exist and therefore the consequences of those suddenly breaking cannot be ignored.
-
Docker Swarm cron job manager
I also found swarm-cronjob and ofelia both seems promising. BUT , I really like the idea of an interface to watch log files etc.
ofelia
-
How do you use separate log files for Ofelia?
To anybody that is familiar with Ofelia: how do you use different log files for different jobs?
-
Running a command in one docker container from another docker container?
I've been trying to figure out how to run cron jobs in my docker containers. Most of the solutions I see are some version of "make a separate container to run your crons". One version of this solution is ofelia, which people seem to like a lot.
-
Docker compose: no crontab for root
If you want to run periodic commands on your containers, have you considered using a cron replacement (ofelia chadburn or maybe docker-crontab?
-
Schedule containers from within Docker?
I found Ofelia but from the quick glance I took at their documentation it seems it don't allow to set scheduling rules from the docker compose.
-
Automatic import?
I'm in the exact same situation. I'm currently trying to get mcuadros/ofelia installed to run as a scheduler within Docker. Here's a sample file for Ofelia to run the photoprism import (jobs.ini): https://dl.photoprism.org/docker/scheduler/
-
How do I add a CRON job in Ubuntu's Crontab for custom django command?
Not exactly using the OS' crontab but if you're using Docker to deploy your Django, you might actually find it cleaner to use something like Ofelia to run commands in your Django container.
-
is there an application that allows me to run a docker run command at a particular time? based on a schedule
If you'd like to have this schedule as part of your docker setup as well look into Ofelia https://github.com/mcuadros/ofelia You can run commands - local (on the host or on the docker container Ofelia runs in - by 'docker exec' in an existing container - by spinning up a new container
-
Setting up sync after importing from the imported to the originals
# See https://github.com/mcuadros/ofelia/blob/master/docs/jobs.md for job settings!
-
Problems running curl command with ofelia
I'm trying to push some Information to an API on a scheduled basis. I figured ofelia is exactly what I need. A Test with "echo test" as command worked just fine, I could see the output in the logs.No if I try to run a curl command I get the following error:2022-01-27T11:30:09.008Z common.go:121 ▶ ERROR [Job "dyndns-kasm" (b5d84c412e5f)] Finished in "1.014721ms", failed: true, skipped: false, error: exec: "curl": executable file not found in $PATH
-
How Often Should I Run Each Management Command?
I am setting up some Wagtail and my custom management commands to be run periodically on my project's Docker container using Ofelia.
What are some alternatives?
swarm-scheduler - A distributed scheduler for docker swarm mode using Compose and Cron
photoprism-auto-index - Photoprism supercharged with originals folder auto indexing
Airflow - Apache Airflow - A platform to programmatically author, schedule, and monitor workflows
Moby - The Moby Project - a collaborative project for the container ecosystem to assemble container-based systems
Diun - Receive notifications when an image is updated on a Docker registry
script-server - Web UI for your scripts with execution management
k3s - Lightweight Kubernetes
deck-chores - A job scheduler for Docker containers, configured via labels.
longhorn - Cloud-Native distributed storage built on and for Kubernetes
rancher - Complete container management platform