crontab 定时任务报错

crontab 权限不对
chmod 0600 /etc/crontab

10 00 * * * root systemctl restart crond
12 00 * * * root systemctl restart rsyslog
15 00 * * * root bash /data/scripts/clean_cache.sh
01 02 * * * root docker ps -a |grep -E 'Created|Exit'|grep '3 months' | awk '{print $1}'|xargs docker rm -f
05 */3 * * * root docker ps -a |grep -E 'Created|Exit'|grep '1 days' | awk '{print $1}'|xargs docker rm -f
*/2 * * * * root docker ps -a |grep -E 'Created|Exit'|grep '25 hours' | awk '{print $1}'|xargs docker rm -f
12 02 * * * root docker ps -a |grep -E 'Created|Exit'|grep '3 weeks' | awk '{print $1}'|xargs docker rm -f
*/1 * * * * root date > /tmp/test-cron