• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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