1.先安装crontab,之前的文章有介绍

2.查看 crontab -l

linux中crontab实战篇

3.编辑 crontab -e

0 7 * * * /application/php/bin/php www.xialan.com/yii hello/friend  # 同步朋友信息 每天凌晨7点更新

 

相关文章:

  • 2021-12-17
  • 2021-07-25
  • 2021-11-28
  • 2021-08-17
  • 2022-02-26
  • 2022-01-29
猜你喜欢
  • 2022-01-03
  • 2022-01-07
  • 2022-12-23
  • 2022-02-02
  • 2022-01-19
  • 2022-12-23
  • 2022-01-08
相关资源
相似解决方案