• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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