Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
litespeed_wiki:admin:autoupgrade-cron [2018/09/18 12:49] Jackson Zhang created |
litespeed_wiki:admin:autoupgrade-cron [2023/04/14 19:29] (current) Lisa Clarke Redirect to new Documentation Site |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== How to upgrade LSWS automatically by a cron job? ====== | + | ~~REDIRECT>https://docs.litespeedtech.com/lsws/updates/#automate-updates-via-cron-job~~ |
- | when a new version of LSWS released, it will be pushed to auto-update after one or two weeks, then the new version will be showing up from LSWS version manager. | + | |
- | + | ||
- | If you would like to automatically upgrade to new version as soon as it is available, you can run some script to check the latest version from the following link and run lsup.sh command. | + | |
- | + | ||
- | http://update.litespeedtech.com/ws/latest.php | + | |
- | + | ||
- | After you obtain the latest version, you can run the following to upgrade. | + | |
- | /usr/local/lsws/admin/misc/lsup.sh -f -v <latest-version> | + | |
- | + | ||
- | Set above process to daily cron job to run automatically. | + |