Search results

  1. G

    Trying to delete a directory using PHP after set amount of time via Cron job

    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>/*
  2. G

    Trying to delete a directory using PHP after set amount of time via Cron job

    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...
Top