Comments (9)
Big bump on this one.
If we could get a service, that would allow anything as basic as just running tasks on a schedule similarly to how both Dokku and Heroku, then that would be fantastic.
from coolify.
Cron jobs were in scope, initially, but I'm thinking of creating a separate service for it that you can install in Coolify with one click. So it won't be part of Coolify but could be installed as, for example, Plausible Analytics.
From the user's point of view, it's the same, but it's a bit cleaner IMO from the developer's point of view.
What do you think of this?
from coolify.
I think it would be best to have it deeply integrated as a first party service rather than an addon, since it is coming directly from you and as you say it is in the scope, and it is more of a functionality rather than an app / service (as it comes under the scope of the project).
from coolify.
Just a quick thought, if ( #45 ) is to be accepted, integrating cron jobs would be fairly straight forward via the K8s API (https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/).
from coolify.
Cron jobs were in scope, initially, but I'm thinking of creating a separate service for it that you can install in Coolify with one click. So it won't be part of Coolify but could be installed as, for example, Plausible Analytics.
From the user's point of view, it's the same, but it's a bit cleaner IMO from the developer's point of view.
What do you think of this?
I'd love to help develop a cron service, and I think it would be good to have it as a separate part, easily enabled with one click. Would you be able to point me in the direction of any resources to help create a service or projects for existing services
from coolify.
@andrasbacsai Just noticed (https://github.com/coollabsio/coolify/projects/1#card-63415453), is the plan to still use Agenda for v2? If you are planning to K8s integration background jobs can easily be achieved via the Kubernetes API (https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/)
from coolify.
I am not sure if I am misunderstanding the use cases here but you can both schedule workflows to run in n8n.io and run crontab in docker container currently.
https://docs.n8n.io/courses/level-one/chapter-5/chapter-5.7/
I agree it would be nice to use regular cron as well, but have you guys considered if there are alternatives? Unless you are talking about server related stuff / admin stuff that needs access to the instance it can be done fairly easily with custom docker application.
from coolify.
@jugglingjsons so I haven't looked into n8n.io before this, so thank you I'll take a look.
That said, my specific use case is exactly as what the Heroku and Dokku platforms offer as I've linked above. That is to say I need to run a specific command on my application/container at a given time schedule. This could be anything from running my application with a different argument, or in a Rails-like environment running things like rake tasks.
Would that be something I would be able to achieve with n8n.io ? I'm pretty sure the answer is no, but I'd love to be proven wrong.
Note: while I'm also aware that I could simply add a crontab configuration to my application docker container, I prefer the way other platforms handle this in that the scheduled action is performed in a separate "one-off" container instance / process.
from coolify.
I'm closing this issue, because tracking features will be moved to GitHub discussions. Github issues will be only for bugs.
Version 4 is in full focus. v3 related issues will be closed, if it is not a critical bug.
Thanks for your understanding.
from coolify.
Related Issues (20)
- [Bug]: --Privileged Flag Not Working on Build anymore After Install HOT 1
- [Bug]: Cannot install coolify HOT 5
- [Bug]: cannot remove servers from application HOT 1
- [Bug]: Error when creating a resource from docker compose with volume already on disk
- [Bug]: Installation one-liner install.sh fails: .env not found HOT 5
- [Feature]: Running the script without root privileges
- [Bug]: MongoDB password is not displayed correctly. HOT 1
- [Bug]: docker: Error response from daemon: failed to create endpoint ecstatic_jepsen on network bridge: failed to add the host (vethd3db6bf) <=> sandbox (vethf69a5f5) pair interfaces: operation not supported. HOT 6
- [Bug]: Error response from daemon: network gck0os8 not found HOT 1
- [Bug]: Databases not running in UI HOT 1
- [Bug]: Long FQDN lines will break the tile layout HOT 1
- [Bug]: Cannot use docker-compose file of Sentry HOT 2
- [Bug]: multiple domains and middlwares HOT 2
- [Bug]: Using predefined network does not work HOT 1
- [Bug]: UFW firewall ignored, bind ports to 127.0.0.1 not 0.0.0.0 HOT 1
- [Bug]: log drain isn't sending server_name anymore HOT 2
- [Bug]: Preview deployment not taking `Dockerfile Location` into consideration HOT 1
- [Bug]: Deployment container logs not appearing in the Logs tab HOT 2
- [Feature]: Use deployment feature of GitHub
- [Bug]: Unable to build with build server: `docker-compose.yml: no such file or directory` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coolify.