Best rails solution for a mailer that runs every minute

前端 未结 4 940
有刺的猬
有刺的猬 2021-01-01 01:00

I have an application that checks a database every minute for any emails that are supposed to be sent out at that time. I was thinking about making this a rake task that wou

4条回答
  •  情深已故
    2021-01-01 01:15

    I do what Vlad suggested (#2), with only local requests honored, and I'm paranoid enough to also require a specific query string tacked on to the url.

    I have several periodic actions set up this way.

提交回复
热议问题