![]() |
home
| search
|
How can I automate the update process from the command line?You can automate Cerb4 updates at the shell using a command-line browser, like wget or lynx --source. From your Cerb4 directory: svn update wget -O - --quiet "http://localhost/cerb4/update" rm -Rf install/ To grant /update access to your script simply add your local IP to the Configuration->General->IP Security section. Alternatively you can do an override from the AUTHORIZED_IPS_DEFAULTS setting at the bottom of the framework.config.php file. This approach works best when you're hosting several helpdesks since you can just add your local IP to the framework.config.php file from your provisioning (auto-install) script for each client. Keywords: shell, terminal, CLI, bash, script, automation |
| powered by Cerberus Helpdesk™ |