This is an old revision of the document!
How to upgrade LSWS automatically by a 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.