add crontab task for statistics