亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

為什么使用/etc/crontab方式設置任務 ,crontab -l 依然是no crontab

為什么使用/etc/crontab方式設置任務 ,crontab -l 依然是no crontab

little_newbee 2018-03-01 10:24:45
SHELL=/bin/bashPATH=/sbin:/bin:/usr/sbin:/usr/binMAILTO=root# For details see man 4 crontabs# Example of job definition:# .---------------- minute (0 - 59)# | ?.------------- hour (0 - 23)# | ?| ?.---------- day of month (1 - 31)# | ?| ?| ?.------- month (1 - 12) OR jan,feb,mar,apr ...# | ?| ?| ?| ?.---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat# | ?| ?| ?| ?|# * ?* ?* ?* ?* user-name ?command to be executed*/5 * * * ?root ?/ftpfile/test.sh ? ? ? ? ? ?需要注意的點,加user-name這些都注意了,如果使用crontab -e的方式是可以查看到的,并且程序正常執行,但是這種方式查看不到了。求原因。
查看完整描述

目前暫無任何回答

  • 0 回答
  • 0 關注
  • 1809 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號