Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

logrotate force rotation

# dry run (check operations)
logrotate -vdf /etc/logrotate.d/CONFIGFILE

# run
logrotate -vf /etc/logrotate.d/CONFIGFILE
 
PREVIOUS NEXT
Tagged: #logrotate #force #rotation
ADD COMMENT
Topic
Name
3+4 =