News for hackers. Stuff that matters.
Re:We Don’t Run Cron Jobs (2016) by TheSoftwareGuy on Monday August 20, 2018 @09:51PM (#17806177)
You could even write a cron job to clean up the crontab
Re:We Don’t Run Cron Jobs (2016) by thwarted on Monday August 20, 2018 @10:11PM (#17806284)
Or you could use at(1) or batch(1) to invoke the job once. That seems significantly easier and less error prone than trying to clean up crontab.
Re:We Don’t Run Cron Jobs (2016) by Pete_D on Tuesday August 21, 2018 @02:14PM (#17812228)
at(1) is great, but you'll still have the problem of a different environment to cron (it copies most of your environment variables and working directory).
Re:We Don’t Run Cron Jobs (2016) by lykr0n on Monday August 20, 2018 @10:18PM (#17806329)
Or use Puppet/Salt/Chef/ansible to manage the file automatically
Re:We Don’t Run Cron Jobs (2016) by toomuchtodo on Monday August 20, 2018 @10:29PM (#17806386)
I've seen this done previously. It gets arduous to maintain a large list of cron jobs, teach everyone how to add new ones, rebuild the cron box and redeploy on updates to config management.

Just use Jenkins, until you outgrow Jenkins. Then use a distributed scheduler.

Re:We Don’t Run Cron Jobs (2016) by rooam-dev on Tuesday August 21, 2018 @03:55AM (#17807862)
Can you recommend one?

We recently had to implement a prototype in house, not that easy as I thought it would be, but we could not find a good solution, e.g. handle 100k jobs, long term (never expiring), short term (depends on an entity's live cycle), high available.

Thanks.

Re:We Don’t Run Cron Jobs (2016) by toomuchtodo on Tuesday August 21, 2018 @09:53AM (#17809539)
Kubernetes if you're a containers first shop, Hashicorp's Nomad if you're not just containers (can run binaries, etc).
Re:We Don’t Run Cron Jobs (2016) by spiffytech on Tuesday August 21, 2018 @07:54AM (#17808779)
Kubernetes does Cron jobs.