cron job script creating unwanted files
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.
精彩评论