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
 

Add nginx repository Ubuntu

 Add nginx repository Ubuntu # 1. Download the NGINX signing key curl https://nginx.org/keys/nginx_signing.key | gpg --dearmor | sudo tee /u...

Mais vistos