add two scripts for easier monitoring status of crab jobs #146
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adding two scripts in heavyNeutrino/multilep/test/scripts:
These are essentially wrappers around the 'crab status' command.
In more detail:
monitorCrabJobs.py loops over all samples in a crab log directory, runs the crab status command on each of them, and puts the resulting status information in a html page (credits to Kirill) that can be watched on your iihe home web page for a nice overview of how your samples are doing. There is also an option for resubmitting failed jobs. There are detailed instructions on how to use this script in the comments at the top of this file.
monitorCrabJobsAuto.py is a small extension that runs monitorCrabJobs.py repeatedly in the background. Useful for staying up to date with the status or automatic repeated resubmission of failed jobs. There are detailed instructions on how to use this script in the comments at the top of this file.
The usual tests to check if anything in the output changed are currently running,
but nothing should have changed since the scripts do not interfere with the multilep.py workflow.