https://github.com/chassis/cavalcade
https://github.com/chassis/cavalcade
cavalcade chassis chassis-extension daemon wordpress
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/chassis/cavalcade
- Owner: Chassis
- Created: 2016-04-13T02:45:22.000Z (about 10 years ago)
- Default Branch: main
- Last Pushed: 2020-08-13T08:19:07.000Z (almost 6 years ago)
- Last Synced: 2025-03-11T00:05:46.206Z (over 1 year ago)
- Topics: cavalcade, chassis, chassis-extension, daemon, wordpress
- Language: Puppet
- Size: 28.3 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cavalcade for Chassis
This is an [extension for Chassis](http://docs.chassis.io/en/latest/extend/) to enable [Cavalcade](https://github.com/humanmade/Cavalcade).
Cavalcade is a replacement for WordPress' built-in cron that runs as a daemon on your system. It horizontally scales in production to ensure your scheduled tasks keep up with the scale of your site.
This extension sets up the Cavalcade Runner as a daemon on your system to allow you to replicate production much more easily.
## Installation
This extension can be installed the same as any other Chassis extension:
```
# Clone this repository into your Chassis `extensions` directory:
cd extensions
git clone --recursive git@github.com:Chassis/Cavalcade.git cavalcade
# Re-provision your Chassis box
cd ..
vagrant provision
```
Alternatively you can add the following to one of your [configuration](http://docs.chassis.io/en/latest/config/#configuration) files.
```
extensions:
- chassis/cavalcade
synced_folders:
logs/upstart: /var/log/upstart
```
You can monitor the Cavalcade Runner by SSHing into your box, then viewing the `/var/log/upstart/cavalcade.log` file. To view it live, simply run `sudo tail -f /var/log/upstart/cavalcade.log`
## Troubleshooting
### Cavalcade isn't running!
If Cavalcade doesn't appear to be running, check `/var/log/syslog` and look for errors with "cavalcade". You can also check the Cavalcade log at `/var/log/upstart/cavalcade.log` for more information.
If you see "cavalcade respawning too fast, stopped", this typically means that your Cavalcade jobs table hasn't been created. Make sure you have Cavalcade installed as an MU plugin on your site, then visit your site to ensure Cavalcade creates this table.