Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
litespeed_wiki:cpanel:cli-lscwp-management [2018/06/12 21:24] Michael Alegre |
litespeed_wiki:cpanel:cli-lscwp-management [2018/06/12 21:33] Michael Alegre [Scan And Enable Using A CronJob] |
||
---|---|---|---|
Line 71: | Line 71: | ||
</code> | </code> | ||
- | ====== Scan And Enable Using A CronJob ====== | + | ===== Scan And Enable Using A CronJob ===== |
If you do not want to continue manually running the CLI script you can setup a cronjob to run the script at fixed intervals instead. | If you do not want to continue manually running the CLI script you can setup a cronjob to run the script at fixed intervals instead. | ||
Line 83: | Line 83: | ||
<code> 00 03 * * * /usr/local/lsws/admin/misc/lscmctl scan -e </code> | <code> 00 03 * * * /usr/local/lsws/admin/misc/lscmctl scan -e </code> | ||
- | This command will run the CLI script daily at 3am, re-discovering all WordPress installations and mass enabling LSCWP on any unflagged installations. | + | This command will run the CLI script daily at 3am, re-discovering all current and new WordPress installations and mass enabling LSCWP on any unflagged installations. |