Is it possible to do the following with delayed_job:
Define a class named Tasks
You have a method in Tasks that runs every 5 minutes: Tasks.do_processing
When the next five minute loop appears, run Tasks.do_processing only if the previous do_processing completed
Is this something I need to create on my own or it may linger (or some other gem / plugin) to do this?
Ps. I know about cron jobs for the OS level, but if I used this, it would mean that every time cron "starts", it reloads the entire Rails environment, and delayed_job only needs to be loaded once.
Zabba source share