Check age of log file before trying a command