Intro
Since Plesk Automation 11.5 MU#20 auto-updater is implemented.
PA auto-updater - utility for check and install new PA micro-updates automatically.
The following options is available:
# ppa.autoupdater --help
Usage: ppa.autoupdater [options]
Options:
-h, --help show this help message and exit
-e, --enable Enables autoupdater for default schedule (1.00 AM, every day)
-c, --configure Enables autoupdater with custom schedule
-d, --disable Disables autoupdater
-u, --update Launch update of Plesk Automation
After micro-update installation PA auto-updater will send email to PA administrator account with status of update.
How to use
PA auto-updater is disabled by default.
To manage PA auto-updater run utility with one of the following options:
After enable auto-updater will check new updates availability and install updates every day at 1.00AM:
#ppa.autoupdater --enable
Also it is possible to enable PA auto-updater with custom schedule and specify check time using cronjob syntax:
# ppa.autoupdater --configure [INFO]: Input crontab entry when to run script '* * * * *' WITHOUT QUOTES [INFO]: Example 1 - '0 1 * * Sun,Sat' -> run every Sun & Sat at 1 AM [INFO]: Example 2 - '0 13 * * *' -> everyday at 1 PM 15 15 * * *
To disable PA auto-updater use '-d' option:
# ppa.autoupdater --disable
To run micro-update installation manually use '-u' option:
# ppa.autoupdater --update