cron job script creating unwanted files
Question
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 phpfile.php.1, phpfle.php.2, phpfile.php.3…. Is there any script to stop that?
Solution
Add -O /dev/null
to your wget
command.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow