Skip to content

Commit e57ca9a

Browse files
committed
include timestamp with command execution
1 parent 8697b93 commit e57ca9a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Pipeliner.pm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,8 @@ sub run {
159159
print STDERR "-- Skipping CMD: $cmdstr, checkpoint [$checkpoint_file] exists.\n" if $VERBOSE;
160160
}
161161
else {
162-
print STDERR "* Running CMD: $cmdstr\n" if $VERBOSE;
162+
my $datestamp = localtime();
163+
print STDERR "* [$datestamp] Running CMD: $cmdstr\n" if $VERBOSE;
163164

164165
my $tmp_stderr = "tmp.$$." . time() . ".stderr";
165166
if (-e $tmp_stderr) {

0 commit comments

Comments
 (0)