Watchtower plugin monitors the Craft queue manager for bottlenecks and send notifications emails once those thresholds are met.
For added monitoring, you can also ping Oh Dear for scheduled task monitoring.
- PHP version 7.1 or higher
- Craft CMS 3.3 or higher
To install this plugin, copy the command above to your terminal:
composer require siebird/craft-watchtower
In the control panel, go to settings, find Watchtower plugin and click to configure settings.
In order for Watchtower to monitor the queue manager–it needs to be run via a cron job. Configure a cron job to run a console command to hourly or at your desired interval. Example below runs every hour on the hour.
Cron Job (linux)
0 * * * * php craft watchtower/monitor
Review the default email template (./src/templates/_emails/notification
) as a starting point. Enter the updated path in the custom email template field relative to Craft's ./templates
folder.