The batch processor allows for the easier submission of batch jobs via a web interface.
A hashtag is created which represents some script via the script's absolute path. This script contains the bsub command so that extra tags can be added and more customization of the bsub command is available. This hashtag can then be applied to events as needed.
Below is a simple example of a possible bash script. This script runs test.py
and passes it any arguments that is passed to itself through "$@"
and the log files are save in the logs
directory with their job ID as the log file name. The python code
#!/bin/bash bsub -q psdebugq -o logs/%J.log python test.py "$@"