crontab -e
* * * * * /opt/AutoGrab.sh
crontab -u root /var/spool/cron/root
Tips: Linux中,扩展名也是很重要的,AutoGrab.sh如果没有扩展名,有可能就不能运行。