I have a script running 24/7 collecting network data to a log file. I would like to kill the <PID> of that script every night and rotate the log file from “log_file” to “log_file.1”. How do I tell logrotate to rotate the file every night?
Thanks for any suggestions.