How to automate live helper chat updates?

Last modification: 2014-06-29 08:49:35

There is few points regarding this

To update database from linux shell console it's enough just execute it will update database and clear cache automatically

php cron.php -s site_admin -c cron/util/update_database

It's also possible to update database just by executing http request. To allow execute this update in chat configuraiton you have to enter ip from which request will come.

http://expample.com/index.php/system/autodbupdate

To update files I just recommend use git if you have checked out lhc itself. It will update all changes files from master branch. So you can every night execute git pull command first and then just above command.

git pull origin master

If you do not have ability to use git you can use this command to update all lhc at once. This update script is experimental and backup should be created first!

php cron.php -s site_admin -c cron/util/update_files

Support project

Developing application takes a lot of time. You can support application by donating. There is no company behind this application and it takes away my free time. Every donation matters and does not matter how small it is!


Paypal, one time donation
Monthly donation
Bitcoin
bc1q6gkl2hcwtn2g26em6axc7jehmn2hd9x8g7nzx9

USDT (Ethereum network)
0x45b92C4aa29EFD3252fD04fcDDe3e6Ef8b399D75