Thank you for this. I didn't realize you could delete a directory or files within one through just cron. for anyone else needing the command this is what i used rm -f /home/<user>/public_html/<deletefilesfromthisdir>/*
Hello. I'm trying to delete a directory that temporarily holds files for about 24 hours.
I setup a cron job with this command
/usr/local/bin/php/home/gmtrashx/public_html/purge.php 2>&1 >> /home/gmtrashx/public_html/cron_output.log
The file paths for the cron job should be correct. I'm new to...