I need to have a Cron Job, that when it runs automatically deletes all of the files inside of a folder that are exactly 0 bytes.
The script I am using allows users to enter their username so it downloads their file. However, I want the script to be basic so there is nothing that checks to see if the file exists. If it doesn't exists, it uploads nothing, but it still uploads a blank file that contains nothing, and is exactly 0 bytes.
I could not find anything on this, but I could have been searching for the wrong things as Im not exactly sure what this would be called.