Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 cron 作业脚本,我使用 >/dev/null 2>&1 停止发送电子邮件。但是每次以 PHP 文件的相同名称创建一个文件,并带有尾随数字,如 phpfile.php.1、phpfle.php.2、phpfile.php.3……。有没有什么脚本可以阻止它?
添加-O /dev/null到您的wget命令中。
-O /dev/null
wget