jobd.sh: run jobd.pl more efficiently