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.

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.

  • Admin
  • Last modified: 2018/09/18 13:27
  • by Jackson Zhang