Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
litespeed_wiki:admin:autoupgrade-cron [2018/09/18 13:28] Jackson Zhang |
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 for you to decide if to upgrade to the latest version manually or not. | + | |
- | + | ||
- | 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. | + |