Changeset 19932 for trunk/ippScripts/scripts/diff_skycell.pl
- Timestamp:
- Oct 6, 2008, 2:03:10 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/diff_skycell.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/diff_skycell.pl
r19638 r19932 9 9 print "\n\n"; 10 10 print "Starting script $0 on $host\n\n"; 11 12 use DateTime; 13 my $mjd_start = DateTime->now->mjd; # MJD of starting script 11 14 12 15 use vars qw( $VERSION ); … … 241 244 my $command = "$difftool -adddiffskyfile -diff_id $diff_id -uri $outputName -path_base $outroot"; 242 245 $command .= $stats->cmdflags(); 246 $command .= (" -dtime_script " . (($mjd_start - DateTime->now->mjd) * 86400)); 243 247 $command .= " -hostname $host" if defined $host; 244 248 $command .= " -dbname $dbname" if defined $dbname; … … 263 267 if (defined $diff_id and not $no_update) { 264 268 my $command = "$difftool -adddiffskyfile -diff_id $diff_id -code $exit_code"; 269 $command .= (" -dtime_script " . (($mjd_start - DateTime->now->mjd) * 86400)); 265 270 $command .= " -hostname $host" if defined $host; 266 271 $command .= " -dbname $dbname" if defined $dbname;
Note:
See TracChangeset
for help on using the changeset viewer.
