Changeset 24961 for trunk/pstamp/scripts/pstamp_parser_run.pl
- Timestamp:
- Jul 31, 2009, 3:34:44 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/scripts/pstamp_parser_run.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/scripts/pstamp_parser_run.pl
r24831 r24961 13 13 use Getopt::Long qw( GetOptions ); 14 14 use File::Basename qw( basename dirname); 15 use POSIX qw( strftime ); 15 16 16 17 my $req_id; … … 74 75 } 75 76 76 # workdir is where we download request files to and place any error output from the parser77 # workdir is where all of the files generated for this request are placed 77 78 # NOTE: this location needs to be kept in sync with the web interface ( request.php ) 78 my $workdir = "$pstamp_workdir/$req_id"; 79 79 my $datestr = strftime "%Y%m%d", gmtime; 80 my $datedir = "$pstamp_workdir/$datestr"; 81 if (! -e $datedir ) { 82 mkdir $datedir or die "failed to create working directory $datedir for request id $req_id"; 83 } 84 85 my $workdir = "$datedir/$req_id"; 80 86 if (! -e $workdir ) { 81 87 mkdir $workdir or die "failed to create working directory $workdir for request id $req_id";
Note:
See TracChangeset
for help on using the changeset viewer.
