Cron Job Issue
Posted on 2011-10-18
I had a cron job running on a linux server with:
Debian 5.0 - Plesk 9.3 - RAID1 - 64bit
I duplicated the application to a new linux server using:
Parallels Plesk Panel v10.3.1_build1012110812.15 os_CentOS 5
The cron job ran perfect on the first server. Now, I am getting PHP Notice: Undefined Index for HTTP_HOST and some other Server variables......
This is an email cron that picks up scheduled email jobs out of a table and mails out newsletters. I am using a PHP class that relies on the server variables.
Can anyone explain why on one linux server it works on on another it dosn't?