• 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 Bulk list and change subscriptions' expiration dates?

KDawson

Basic Pleskian
Server operating system version
CentOS 7.2.2009
Plesk version and microupdate number
Plesk Obsidian 18.0.55.2
I invoice web hosting clients annually and would like a way to do bulk updates to their subscriptions' expiration dates as payments come in. I found the article on how to loop over a list of resources and apply a Plesk CLI command ( v.gd - Shortened URL ). But I can't find CLI commands to list expiration dates or to change them. Is this possible?
 
Thank you, that answers the question.

Along the same line, I couldn't find a way to list or set the PHP version. Did I just miss it?
 
Code:
plesk bin subscription --update example.com -php_handler_id fastcgi

Run plesk bin php_handler --list to get a list of installed handlers on your server. The php_handler_id looks like: plesk-php70-fpm
 
Back
Top