
1.设置目录
cd /var/spool/cron
2.编辑文件(当前登录用户,不一定是root)
vim root
3.添加内容
0 0 * * * wget http://192.144.141.166:8083/qingzhutool/hotel/recommend/sendmail/2bigAreaManager
定时时间周期表达式:
Seconds Minutes Hours DayofMonth Month DayofWeek Year或
Seconds Minutes Hours DayofMonth Month DayofWeek
cron表达式的具体用法参考:https://www.cnblogs.com/junrong624/p/4239517.html