#/bin/bash # $Id:$ # Duplicates workunits which are late (sent time < 3 days ago), # state=INPROGRESS. Does not duplicate WUs which have been already # duplicated. Duplicates get target_nresults=2 and priority += 1000. mysql="/usr/bin/mysql -pxxxx DBNAME" echo "$0 running on" date echo "Going to duplicate the following workunits" $mysql <