Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fire events on sites #3

Open
themightychris opened this issue Jun 23, 2016 · 0 comments
Open

Fire events on sites #3

themightychris opened this issue Jun 23, 2016 · 0 comments

Comments

@themightychris
Copy link
Member

Use a shell commands like:

echo "Emergence\EventBus::fireEvent('beforeBackup', 'Site');" | /usr/local/bin/emergence-shell mysitehandle > /dev/null

and

echo "Emergence\EventBus::fireEvent('afterBackup', 'Site');" | /usr/local/bin/emergence-shell mysitehandle > /dev/null

to enable each site to run code before and/or after its backups

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant