Set logrotate to specific time

If you only want to make logrotate run at midnight, move /etc/cron.daily/logrotate to some other directory, and add the line at the end of /etc/crontab.

0 0 * * * /new/path/to/logrotate
 

How to list open ports and application using them in Windows

  netstat -abn or netstat -a -n -p tcp -o

Mais vistos