You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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 `"$@"`.

#!/bin/bash

bsub -q psdebugq -o logs/%J.log python test.py "$@"
  • No labels