~maddevelopers/mg5amcnlo/3.0.2-alpha0

« back to all changes in this revision

Viewing changes to Template/bin/qdeljob

Added Template and HELAS into bzr

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/perl
 
2
 
 
3
    if (open jobline,"running_jobs"){
 
4
        while ($jobid = <jobline>){
 
5
            system("qdel $jobid > /dev/null");
 
6
        }
 
7
        close (jobline);
 
8
        system("rm -f running_jobs");
 
9
    }
 
10
    else {
 
11
        print "Error executing qdel \n";
 
12
    }
 
13