http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=4192
The URL shown above is where this started.
My question is:
How do I make a timer that would check the filesize of the current log file every hour and then close and re-open that log file if it is 500 kilobytes or larger.
By 'close and re-open' I mean close/end the current log file, and open/begin a new log file for the data past that 500 kilobytes limit.
The URL shown above is where this started.
My question is:
How do I make a timer that would check the filesize of the current log file every hour and then close and re-open that log file if it is 500 kilobytes or larger.
By 'close and re-open' I mean close/end the current log file, and open/begin a new log file for the data past that 500 kilobytes limit.