As others have mentioned, this will tell you whether the file has been unmodified for the last 20 minutes, which may or may not be exactly what you want.if (-M '/tmp/file' >= 20/60/24) { # ... }
In reply to Re: Timestamp conditional
by sgifford
in thread Timestamp conditional
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |