View Source mix bildad.install (Bildad v0.1.9)

Mix task to install the Bildad Jobs Framework into an application.

Summary

Functions

Requires the --application name you want to install the Bildad Jobs Framework into.

Functions

Requires the --application name you want to install the Bildad Jobs Framework into.

It will install:

  • a database migration to create the necessary tables
  • a controller to run the job engine

You must manually add:

  • an entry in your router.ex file to route to the controller
  • a supervised child in your application.ex file to run the job killer task

You must also

  • set up a cron job to periodically call the job engine controller.