#! /bin/sh nl=$(date +log.%s) cp log $nl tail -n 40 $nl > log echo "Don't forget to reload the clients"