admin_smokedb - Import smoke report in a mysql database
admin_smokedb --clear --create --database=s --dir=s
--drop --graph --help --import --man
--min_smoke=i --nntp_server=s --mysql=s
--password=s --suck --user=s --verbose
This script help you to populate smoke database
The first time you run this script, you must do:
admin_smokedb --create
for create the needed mysql table. Use --user, --password, --database for overwrite default values.
Then you must do:
admin_smokedb --suck --import
for create a complete smoke database. It will take some times as it will fetch all reports from the newsgroup since the beginning of the smoke story. You can then launch your browser with smoke_db.cgi.
For a crontab use, do something like this:
CGI_BASE=/perl/smoke 0 8,19 * * * /usr/bin/admin_smokedb --suck --import --user=root --graph -v
Options supported at this moment:
Test::Smoke::Database, Test::Smoke::Database::FAQ, Test::Smoke
$Revision: 1.11 $
Alain BARBET with some help from Abe Timmerman
| Dernière modification le Wed Oct 29 18:11:23 2003 |
© Alain & Estelle BARBET Textes et images 1997-2003 |