• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Resolved Plesk Windows command services_plan - log-rotate not working

nethubonline

Regular Pleskian
Hi all,

I tried to use "service_plan" command to create or update to enable log rotate , but it seems not working and I need to enable it for my service plan via Plesk web panel. Is my command wrong or something else? Thanks a lot.

plesk bin service_plan -c "Plan A" -log-rotate true -log-bytime daily -log-max-num-files 5 -log-compress true
plesk bin service_plan -u "Plan A" -log-rotate true -log-bytime daily -log-max-num-files 5 -log-compress true
 
Back
Top