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

 

cron表达式的具体用法参考:https://www.cnblogs.com/junrong624/p/4239517.html

http://cron.qqe2.com/

 

相关文章:

猜你喜欢
  • 2021-05-29
  • 2022-01-24
  • 2022-01-08
  • 2021-11-24
  • 2022-12-23
  • 2021-09-16
  • 2022-03-04
相关资源
相似解决方案