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

Provide a hook that runs after Workbench has complete executing #459

Closed
mjordan opened this issue Aug 12, 2022 · 1 comment
Closed

Provide a hook that runs after Workbench has complete executing #459

mjordan opened this issue Aug 12, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@mjordan
Copy link
Owner

mjordan commented Aug 12, 2022

https://mjordan.github.io/islandora_workbench_docs/hooks/ documents the hooks Workbench provides. There is no "shutdown" hook, which would be useful, for example, in cases where the use of Workbench is automated. For example, a shutdown script could scan the log to see if some nodes/media failed to be created, and if any are found, email the log to someone.

@mjordan mjordan added the enhancement New feature or request label Aug 12, 2022
@mjordan
Copy link
Owner Author

mjordan commented Aug 13, 2022

Adding this to a config file will execture the named script: shutdown: ['scripts/shutdown_example.py'] .

@mjordan mjordan reopened this Aug 13, 2022
mjordan added a commit that referenced this issue Aug 13, 2022
@mjordan mjordan closed this as completed Aug 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant