./unix/logrotate/test/script_handling_rotation/logfile_write_simple.sh

download original
#!/bin/sh

# doesn't need a postrotate activity

cd "`dirname $0`"

set -e

while true; do
    date >>logfile.txt;
    sleep 1;
done

  
back to script_handling_rotation

(C) 1998-2017 Olaf Klischat <olaf.klischat@gmail.com>