November 29, 200916 yr As the title suggests, I have a Cron job running every few minutes - to manage the sending of emails produced by the PEAR mail_queue script. Thing is, the script is producing tiny tiny files, of 1 byte in size, in the root folder of the server. I know this is produced by the cron job because the filename of the files is identical to the filename of the .php file being run - but the file extension is a number. Any idea on why these files are being produced and, more importantly, how I can stop them? Its really frustrating because it fills my server space up really really slowly but persistently and it takes ages to delete the many thousands of files. Thanks in advance.
November 29, 200916 yr What are the files called? can you give some examples? If they're of a certain file extension or a pattern of some sort you could just get a cron job once a day to delete them all (or do it manually once in a while if you have ssh access)
Create an account or sign in to comment