joshmn / caffeinate

A Rails engine for drip campaigns/scheduled sequences and periodical support. Works with ActionMailer, and other things.
https://caffeinate.email
MIT License
345 stars 13 forks source link

Clarify Docs / Workings of "Running Drippers" #27

Closed jon-sully closed 1 year ago

jon-sully commented 1 year ago

Working on some other stuff at the moment but wanted to write this down before I forgot!

I think we probably need stronger / clearer docs around getting the whole system "running". Someone can setup Drippers, subscribe things to them, and have all their Mailers in order, ship all that to prod, then wonder why stuff isn't sending. It's not super clear that they also need to setup a background job (or other system) to continuously "run" the drippers.

It would also be nice if there was a global "run all of them command". Right now I'm using

ApplicationDripper.descendants.each do |klass|
      klass.perform!
    end

But that could come out of the box with Caffeinate

joshmn commented 1 year ago

Pushed