How can I schedule code to run every few hours in Elixir or Phoenix framework?

前端 未结 7 1333
臣服心动
臣服心动 2020-11-29 14:21

So let\'s say I want to send a bunch of emails or recreate sitemap or whatever every 4 hours, how would I do that in Phoenix or just with Elixir?

7条回答
  •  清酒与你
    2020-11-29 15:07

    Quantum is great, we use it at work as a cron replacement with a phoenix front-end and we also add jobs in real-time which is very neat.

提交回复
热议问题