find /www/server/cron/ -name "*.log" -exec rm -rf {} \;

添加为shell任务