[Mauiusers] success or failure

Chris Samuel csamuel at vpac.org
Sun Mar 18 20:50:47 MDT 2007


On Wed, 14 Mar 2007, michael young wrote:

> I do 'echo "sleep 30" | qsub'.
> How do I know if it succeeded or failed?

Try:

echo "date; sleep 30; date" | qsub -l walltime=0:1:0

Then you should get an output file with the two dates, separated by 30 
seconds.

Either that or the tried and trusted:

echo 'echo "Hello World"' | qsub -l walltime=0:1:0

cheers!
Chris
-- 
 Christopher Samuel - (03)9925 4751 - VPAC Deputy Systems Manager
 Victorian Partnership for Advanced Computing http://www.vpac.org/
 Bldg 91, 110 Victoria Street, Carlton South, VIC 3053, Australia

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/mauiusers/attachments/20070319/05b26a32/attachment.bin


More information about the mauiusers mailing list