scoohh
scoohh

Reputation: 375

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 phpfile.php.1, phpfle.php.2, phpfile.php.3…. Is there any script to stop that?

Upvotes: 0

Views: 164

Answers (1)

Ignacio Vazquez-Abrams
Ignacio Vazquez-Abrams

Reputation: 799062

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

Upvotes: 1

Related Questions