Tail, grep and run