criztianix/cakephp-cremilla

CakePHP wrapper plugin around CakePHPQueuesadilla with some improves

0.0.9 2017-02-27 14:37 UTC

This package is not auto-updated.

Last update: 2024-09-28 20:03:46 UTC


README

An user interface to handle Queues, Workers and Logs for CakePHP-Quesadilla

Running migrations

$ bin/cake Migrations migrate -p Josegonzalez/CakeQueuesadilla
$ bin/cake Migrations migrate -p CriztianiX/Cremilla

Running workers from command line.

Notice, this worker cannot be stopped from UI

$ bin/cake CriztianiX/Cremilla.Worker --queue default --logger cremilla

Running the workers observer

Using Mailgun built-in transport for notifications, like "Minimum number of workers reached"

MAILGUN_DOMAIN="" MAILGUN_API_KEY="" EMAIL_FROM_DOMAIN="postmaster@domain.com" \
EMAIL_FROM_NAME="Cremilla Alert" EMAIL_TO="sysadmin@localhost.com" bin/cake CriztianiX/Cremilla.worker_observer

Adding Workers from UI

/cremilla/workers/add

alt tag

Workers Status

/cremilla/workers

alt tag

Logs Status

/cremilla/logs

alt tag