• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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