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

Add a shutdown hook script to clear out the temp_directory #354

Closed
mjordan opened this issue Mar 23, 2017 · 4 comments
Closed

Add a shutdown hook script to clear out the temp_directory #354

mjordan opened this issue Mar 23, 2017 · 4 comments
Assignees

Comments

@mjordan
Copy link
Collaborator

mjordan commented Mar 23, 2017

It is useful to delete the contents of the MIK temp directory between runs, especially if you are playing with metadata generation options. We should provide a shutdown script (thanks again @jpeak5!) to do this. It would be registered like this:

[WRITER]
shutdownhooks[] = "php extras/scripts/shutdownhooks/delete_temp_directory.php"

I have this script ready, and will open a PR to include it. @bondjimbond should test since he suggested it.

@mjordan mjordan self-assigned this Mar 23, 2017
mjordan added a commit that referenced this issue Mar 23, 2017
@mjordan mjordan mentioned this issue Mar 23, 2017
mjordan added a commit that referenced this issue Mar 24, 2017
MarcusBarnes added a commit that referenced this issue Mar 24, 2017
@MarcusBarnes
Copy link
Owner

Addressed in pull-request #355 (merged into master with commit b5d76dc).

@mjordan
Copy link
Collaborator Author

mjordan commented Mar 24, 2017

Thanks! I'll add mention of the script to https://github.com/MarcusBarnes/mik/wiki/Shutdown-hooks

@jpeak5
Copy link
Contributor

jpeak5 commented Mar 24, 2017 via email

@mjordan
Copy link
Collaborator Author

mjordan commented Mar 24, 2017

@jpeak5 totally. PR is welcome.

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

No branches or pull requests

3 participants