ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CRAB/python/SchedulerCondor.py
(Generate patch)

Comparing COMP/CRAB/python/SchedulerCondor.py (file contents):
Revision 1.7 by ewv, Tue Jun 10 17:46:00 2008 UTC vs.
Revision 1.8 by spiga, Wed Jun 11 10:03:07 2008 UTC

# Line 99 | Line 99 | class SchedulerCondor(SchedulerLocal) :
99      txt += '#\n\n'
100  
101      txt += 'func_exit() { \n'
102 <    txt += '    if [ $PYTHONPATH ]; then \n'
103 <    txt += '        update_fjr\n'
104 <    txt += '    fi\n'
105 <    txt += '    for file in $filesToCheck ; do\n'
106 <    txt += '        if [ -e $file ]; then\n'
107 <    txt += '            echo "tarring file $file in  $out_files"\n'
108 <    txt += '        else\n'
109 <    txt += '            echo "WARNING: output file $file not found!"\n'
110 <    txt += '        fi\n'
111 <    txt += '    done\n'
112 <    txt += '    final_list=$filesToCheck\n'
113 <    txt += '    echo "JOB_EXIT_STATUS = $job_exit_code"\n'
114 <    txt += '    echo "JobExitCode=$job_exit_code" >> $RUNTIME_AREA/$repo\n'
115 <    txt += '    dumpStatus $RUNTIME_AREA/$repo\n'
102 >    txt += self.wsExitFunc_common()
103 >
104      txt += '    tar zcvf ${out_files}.tgz  ${final_list}\n'
105      txt += '    cp  ${out_files}.tgz $ORIG_WD/\n'
106      txt += '    cp  crab_fjr_$NJob.xml $ORIG_WD/\n'

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines