树莓派crontab定时任务
1. crontab编辑命令: ` crontab -e `
1
2
# min hour day month dayofweek cmd
*/3 * * * * /usr/share/nginx/www/pi-pull.sh
(其中 ` */3 ` 表示每隔3分钟)
2. 树莓派中crontab命令: ` cron start/stop/restart/status `
本文由作者按照 CC BY 4.0 进行授权