cron task for cleaning logs