Closed rattrayalex closed 3 years ago
I have a few integrations currently in my app where I insert directly into the job table. Direct table access is in the docs and this should be straightforward for most use cases. Try a direct insert in your trigger first to see if that accomplished what you need.
Ah, sorry, I missed the "Usage" link at the bottom of the README!
I'd like to be able to set up a
TRIGGER
and publish a new job within that. For example, when a given column changes from A to B, publish a job so that I can send an email.With graphile-worker, this can be accomplished like so from within a pl/sql trigger function:
Similar functionality within
pg-boss
might be nice for use-cases like mine.