Gurus,
I have coded for my client a PHP script that performs some extensive data munging on text files he creates.
Code is complete and I have now to automate the script. Problem is that it seems to *only* run manually. I won't run as CRON job.
This is what I have tried with "#!/usr/bin/php -q" in the header of my script:
00 1 * * * /usr/bin/php -q /HDDLogs/HDDProcess.php >>/HDDLogs/HDDProcess.log 2>&1
The log file does get created but is empty. I tried removing the -q for quiet mode: no difference. Still did not run.
Apache 2.0 and PHP 5.3 is installed on this server. I fully own the directory with my code and the data files are located.
Any idea?
Thanks,
Al.