In Piwik 1.8 you can import the raw apache logs into piwik from command line:
%PIWIK-ROOT%/misc/log-analytics/import_logs.py --url=http://YOUR-PIWIK-URL LogFileName.log --show-progress --idsite=1
Friday, July 27, 2012
mysqldump: Got error: 1044: Access denied for user 'root'@'localhost' to database 'information_schema' when using LOCK TABLES
This error occurs when making MySQL dump:
To solve this problem, add this parameter to mysqldump command:
mysqldump: Got error: 1044: Access denied for user 'root'@'localhost' to database 'information_schema' when using LOCK TABLES
To solve this problem, add this parameter to mysqldump command:
--single-transaction
Friday, July 20, 2012
Plesk - Autoresponder in Cron job
This command could be in cronjob for automtic on/off autoresponder:
for activating:
/usr/local/psa/bin/mail -u YOUR@EMAIL.COM -autostatus true -autoname AUTORESPONSE-NAME -autorsp true
for deactivating:
/usr/local/psa/bin/mail -u YOUR@EMAIL.COM -autostatus false -autoname AUTORESPONSE-NAME -autorsp false
for activating:
/usr/local/psa/bin/mail -u YOUR@EMAIL.COM -autostatus true -autoname AUTORESPONSE-NAME -autorsp true
for deactivating:
/usr/local/psa/bin/mail -u YOUR@EMAIL.COM -autostatus false -autoname AUTORESPONSE-NAME -autorsp false
Subscribe to:
Posts (Atom)