#!/bin/bash # #$ -cwd #$ -j y #$ -S /bin/bash #$ -e /home/dock/workspace/kdaily/SGE/errorlog #$ -o /home/dock/workspace/kdaily/SGE/outputlog #$ -l arch=lx24-x86,mem_free=2G # # Note, if you see %(COMMAND)s here, this is a template file # that needs to have these vars replaced by a respective python # script before usage source /home/kdaily/.bashrc # Execute the actual command echo "Running from" ${HOSTNAME} date echo Executing ${JOB_ID}: %(COMMAND)s %(COMMAND)s date