我是cygwin的全新品牌。我在win 10计算机上安装了Cygwin 2.891 64位。然后我安装了cron,并设置了一个简单的cron:
* * * * * echo "Cron test at $(date +\%k:\%M)" >> /cygdrive/c/crontest.txt 2>&1
cron在cygwin中运行: $ ps -a | grep cron 12064 8848 12064 7536? 1057839 11:04:14 / usr / sbin / cron
在Windows事件查看器中,我收到以下消息:
The description for Event ID 0 from source crontab cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
crontab: PID 4380: (username) **BEGIN EDIT** (username)
The description for Event ID 0 from source crontab cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
crontab: PID 4380: (username) **REPLACE** (username)
The description for Event ID 0 from source crontab cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
crontab: PID 4380: (username) **END EDIT** (username)
The description for Event ID 0 from source crontab cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
crontab: PID 13420: (username) **LIST** (username)
The description for Event ID 0 from source /usr/sbin/cron cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
/usr/sbin/cron: PID 12064: (username) **RELOAD** (tabs/username)
The description for Event ID 0 from source crontab cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
crontab: PID 2800: (username) **LIST** (username)
文件未创建。我不知道这些消息是什么意思或如何解决它。