开发者

cron job script creating unwanted files

开发者 https://www.devze.com 2023-01-27 17:53 出处:网络
I have a cron job script and i used >/dev/null 2>&1 to Stop sending Emails. But each time a file is created in the same name of PHP file with trailing numbers like 开发者_如何学JAVAphpfile.php.1,

I have a cron job script and i used >/dev/null 2>&1 to Stop sending Emails. But each time a file is created in the same name of PHP file with trailing numbers like 开发者_如何学JAVAphpfile.php.1, phpfle.php.2, phpfile.php.3…. Is there any script to stop that?


Add -O /dev/null to your wget command.

0

精彩评论

暂无评论...
验证码 换一张
取 消