- crontab编辑命令:
crontab -e
# min hour day month dayofweek cmd
*/3 * * * * /usr/share/nginx/www/pi-pull.sh
(其中*/3
表示每隔3分钟)
2. 树莓派中crontab命令:cron start/stop/restart/status
crontab -e
# min hour day month dayofweek cmd
*/3 * * * * /usr/share/nginx/www/pi-pull.sh
(其中*/3
表示每隔3分钟)
2. 树莓派中crontab命令:cron start/stop/restart/status