Updating All Profiles
If you want to automatically update all logaholic profiles at once, you can use the updateall.php command line script.
You can find the script in this directory:
logaholic/components/MaintenanceScripts/updateall.php
Edit the script to set an admin email address if you want to be notified via email.
This script should be started from the command line only. It will update statistics for all profiles in your system.
Usage:
php -q updateall.php
Example.In a cron job, you could set this up to run every hour at minute 55 like this:
55 * * * * cd /path_to_your_logaholic/;php -q updateall.php -email
Options:
php -q updateall.php -email
php -q updateall.php -emailproblems
php -q updateall.php -reset profilename
When running on Windows, edit the script set the correct path to your PHP executable (e.g. C:\PHP\php-cgi.exe)
Related Topics:
- Automating Updates
- Setting up Email Alerts
- Checking when profiles were last updated
- Using Update with Advanced Command Line Options