Checks statistics for wordpress instances for the last 24 hours and logs those into a log file with a timestamp. * new users * new posts * new pages ## Requirenments For Centos: ``` yum install MySQL-python ``` Create the user and grant select privileges on the DB: ``` create user 'wp-check-user'@'your_server' identified by 'password'; grant select on wordpress_db.* to `wp-check-user`@`your_server`; ``` Let the check run every day at 5am ``` crontab -e ``` Insert ``` # check wordpress instances for news 0 5 * * * /usr/bin/python /opt/check-wp/check-wp.py ````