Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
#!/usr/bin/perl
$file = shift;
$fifteen_mins = ( 15 / 1440 );
if ( ( -M $file ) < $fifteen_mins )
{
print "$file is new or modified in last 15 minutes\n";
}
else
{
print "$file is older than 15 minutes\n";
}
#!/usr/bin/perl -w
use File::Find;
use File::stat;
$now = time;
$offset = 15 * 60;
sub wanted {
if (-f) {
$mod = stat($_)->mtime;
if($now - $mod >= $offset) {
printf "%s %s\n", $File::Find::name, scalar(localtime($mod));
}
}
}
find ( \&wanted, "." );