Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Cron Job is producing tiny files

Featured Replies

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.

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.