用的是 Ubuntu 16.04 ,通过 crontab -e 命令添加了定时任务后,定时任务执行是日志中会出现下面的错误提示:
Please install an MTA on this system if you want to use sendmail!
相关问题
- Is shmid returned by shmget() unique across proces
- how to get running process information in java?
- Error building gcc 4.8.3 from source: libstdc++.so
- Why should we check WIFEXITED after wait in order
- Null-terminated string, opening file for reading
这个报错不是很明显么 如果想使用发送邮件或广播功能,请先在系统内安装一个MTA
定时任务不能执行是由于
command not found
,在 crontab 配置中设置PATH
后解决