Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For sub-hour scheduled or recurring tasks, most users prefer a scheduled background task with DJ, rather than old-school cron. There are a bunch of ways to do this, for example:

   Delayed::Job.enqueue(work, 0, Time.now + 5.minutes)
Docs: http://docs.heroku.com/delayed-job


Great! I posted that hoping that there would be a solution. I've looked around delauyed job trying to find some scheduling funciton but I didn't look close enough it seems. Thanx!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: