10 Mar 14, 03:42AM
Not even a thank you?
By the way, your logging to a file by date using tee... I REALLY REALLY don't recommend it, but the solution is to set up a once-daily crontab, which copies (not moves) the file somewhere else. Then, to clear the file without interrupting the logging, use 'echo "" > /path/to/file.log'.
By the way, your logging to a file by date using tee... I REALLY REALLY don't recommend it, but the solution is to set up a once-daily crontab, which copies (not moves) the file somewhere else. Then, to clear the file without interrupting the logging, use 'echo "" > /path/to/file.log'.