Changeset 37
- Timestamp:
- 11/18/05 19:29:09 (19 years ago)
- Location:
- trunk/soft/scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/soft/scripts/transfert
- Property cvs2svn:cvs-rev changed from 1.3 to 1.4
r36 r37 202 202 if ($?) { 203 203 loging(4, "rsync exit with non 0 status: %d", $? >> 8); 204 } else { 205 # No error running action: 206 if (my $postrun = $config->val($entry, 'postrun')) { 207 loging(0, "found postrun: %s for %s", $postrun || '(unset)', $entry); 208 foreach my $f (@files) { 209 my $filename = "/$f->{file}"; 210 my $fpostrun = sprintf($postrun, $filename); 211 loging(0, "Running `%s'", $fpostrun); 212 my $postrunres = system($fpostrun); 213 214 } 215 } 204 216 } 205 217 my $totalsize = 0; … … 242 254 243 255 $Log$ 256 Revision 1.4 2005/11/18 18:29:08 thauvin 257 - add postrun function 258 244 259 Revision 1.3 2005/11/08 18:40:43 thauvin 245 260 - add documentation -
trunk/soft/scripts/transfert-config
- Property cvs2svn:cvs-rev changed from 1.2 to 1.3
r35 r37 5 5 6 6 [test] 7 source=/ .automount/virgo/root/home/users/olivier/lidarcvs/soft/scripts/*7 source=/home/users/olivier/lidarcvs/soft/scripts/* 8 8 dest=/net/tmp/s/ 9 9 mailto=thauvin@aerov.jussieu.fr, olivier.thauvin@aero.jussieu.fr 10 postrun= cp %s /tmp
Note: See TracChangeset
for help on using the changeset viewer.