#!/usr/bin/perl -T my $module = $ARGV[0]; my $timestamp = `cat /var/run/timestamps/$module`; print "$module module last run at: $timestamp\n";
- Expected output:
$ last_run import import module last run at: Mon Nov 12 01:15:00 NZDT 2007
#!/usr/bin/perl -T my $module = $ARGV[0]; my $timestamp = `cat /var/run/timestamps/$module`; print "$module module last run at: $timestamp\n";
$ last_run import import module last run at: Mon Nov 12 01:15:00 NZDT 2007