ObanChore (ObanChore v0.1.0-beta.3)

Copy Markdown View Source

ObanChore transforms standard Oban workers into secure, UI-driven operational tools.

Configuration

To use ObanChore, you must add ObanChore.Plugin to your Oban configuration:

config :my_app, Oban,
  repo: MyApp.Repo,
  plugins: [
    ObanChore.Plugin,
    # ...
  ],
  queues: [default: 10]

Real-time Logging (Optional)

To enable real-time execution logs in the dashboard, configure your PubSub server:

config :oban_chore, pubsub_server: MyApp.PubSub

Summary

Functions

Hello world.

Logs a message to the ObanChore dashboard for the given job.

Functions

hello()

Hello world.

Examples

iex> ObanChore.hello()
:world

log(job, message)

Logs a message to the ObanChore dashboard for the given job.