My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more
What is the most efficient way to run triggered tasks on server?

What is the most efficient way to run triggered tasks on server?

Rails Reboot's photo
Rails Reboot
·Mar 28, 2016

Suppose I have a recurring task(essentially a scheduler) that is to trigger say when some event happens or X days after some event has happened. Is using cron the most efficient way or there is some other technology I can use for it ? This X can be as large as 360 days even. Somehow I just don't feel I should be using cron here.