Article ID: 124956, created on Mar 20, 2015, last review on Feb 24, 2016

  • Applies to:
  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux
  • Plesk 12.5 for Windows
  • Plesk 12.0 for Windows


How to set expiration date for all subscriptions to unlimited in back end?


You can do it using command line as below:

For Windows:

  1. Retrieve domain names from database

    cd %plesk_dir%
    cd MySQL/bin/
    mysql -uadmin -p -P8306 psa -Ne"select name from domains where webspace_id=0;" > ะก:\webspaces_list.txt
  2. Run the following command to set expiration date of all subscriptions to unlimited:

    for /f %i in (C:\webspaces_list.txt) do "%plesk_cli%\subscription_settings.exe" -u %i -expiration -1

For Linux:

    # mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -e"select name from domains where webspace_id=0;" | grep -v "name" > /tmp/webspaces.list
    # while read l; do /usr/local/psa/bin/subscription_settings -u $l -expiration -1; done < /tmp/webspaces.list

Search Words

All service plans expire today

subscription red question mark

Subscription suddenly suspended

how to change all domains end date

ed7be2b984f9c27de1d2dc349dc19c6d 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 85a92ca67f2200d36506862eaa6ed6b8 a766cea0c28e23e978fa78ef81918ab8 29d1e90fd304f01e6420fbe60f66f838 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7 742559b1631652fadd74764ae8be475e 8b661cab116c79dbe6c4ac5bbdf1c8cb

Email subscription for changes to this article
Save as PDF