TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How do you deal with task/job scheduling?

4 pointsby jennooalmost 7 years ago
How do you handle recurring and time-based events in your software stack. Would you choose for a self hosted solution (i.e. Celery) or choose a hosted solution?

2 comments

freehunteralmost 7 years ago
My job scheduling needs are mostly based around Rails, and in that stack I&#x27;ve never found anything more useful than plain old cron. Everything else either is at the whim of the Rails server needing to remember to do something (and if it crashes, it forgets) or needs a complex infrastructure behind it (Redis&#x2F;Sidekiq). And when it comes to &quot;I want this task to run every day at 1am&quot;, I&#x27;ve found absolutely nothing that can perform that other than cron.<p>I hate using cron because it has its own set of problems, but it&#x27;s been working for me every day for the past year and a half I&#x27;ve had it running in production. I just don&#x27;t want to have to stand up a Redis (or similar) stack that&#x27;s bigger than the web app it&#x27;s supporting...
mirceaulinicalmost 7 years ago
I manage my infrastructure using Salt, which can also be used to schedule jobs (both Salt and outside Salt jobs), see <a href="https:&#x2F;&#x2F;docs.saltstack.com&#x2F;en&#x2F;latest&#x2F;topics&#x2F;jobs&#x2F;index.html" rel="nofollow">https:&#x2F;&#x2F;docs.saltstack.com&#x2F;en&#x2F;latest&#x2F;topics&#x2F;jobs&#x2F;index.html</a>