1 2 3 4 5
#!/bin/bash cd $(dirname "${BASH_SOURCE[0]}") test -x ./updatejobinfo && ./updatejobinfo > jobinfo.html cat jobinfo.html