Hello Everyone, I want to understand/get help from...
# platform-blueprints
l
Hello Everyone, I want to understand/get help from you guys about how are you solving of problem in runnings crons in python and java application, Currently we have multiple crons written in our application code which tightly depend on the business logic. We used to run those crons using crontab/RunDeck but the issue is we won't be able to track the cron run status or be able to pause the cron in between or to see the historic run of that particular cron. We have Python and Java applications. We want to build a jobs platform where i can achieve this functionalities. If anyone can suggest any start pointer regarding the tech stack which we can use would be a great help. Thanks.
a
Off the top of my head, might be a bit overkill if you're not already in Kubernetes, but if you are, why not run them as Kubernetes CronJobs? You can track the run status, pause and resume the job, and in terms of history, you could simply use your observability stack to access historical logs and metrics.
l
I also want to run dependent jobs, how it can be possible via Kubernetes cron job
a
Your CronJob, when it runs, can write Job resources to the same Kubernetes to run downstream jobs. If you need to define more formal pipelines of jobs which run in a particular sequence, you can look into frameworks like Knative which allow you to do just that.