Python 官方文档:入门教程 => 点击学习
Mailing the crontab output By default cron saves the output in the user's mailbox (root in this case) on the local
MAILTO="yourname@yourdomain.com"
aptitude install mailx
*/10 * * * * /bin/execute/this/script.sh 2>&1 | mail -s "Cronjob ouput" yourname@yourdomain.com
*/10 * * * * /bin/execute/this/script.sh 2>&1 > /dev/null
--结束END--
本文标题: Schedule tasks on L
本文链接: https://www.lsjlt.com/news/183331.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-03-01
2024-03-01
2024-03-01
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0