ray.beech42
New Member
- Messages
- 13
- Reaction score
- 0
- Points
- 0
Unable to get email. The issue started with webid cronjob and not receiving confirmation e-mail to my email address.
The email address in cron email was set to my username. I changed the username to my gmail account and read a support thread that stated that hotmail and gmail accounts may not work.
I changed the email address to my only hosted email account with you and I am still unable to receive email. I tried sending an email straight to my hosted email account and I still do not receive email.
My cronjob appears to be working according to the cron text log I have created.
Any issues with receiving e-mail?
---------- Post added 07-01-2011 at 12:56 AM ---------- Previous post was 06-30-2011 at 07:49 PM ----------
Able to receive email from my accounts now, however I am still unable to receive email from my cron jobs.
cpanel cron looks like:
*/5 * * * *
command:
/usr/bin/php /home/my_hosting_username/public_html/batch.php >> /home/my_hosting_username/public_html/cronlog.txt 2>&1
Where my_hosting_username is replaced with my hosting username.
output to cronlog.txt looks like:
X-Powered-By: PHP/5.2.17
Set-Cookie: PHPSESSID=bbd16aae73dc4185698e6c28ecf082ce; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-type: text/html
So I am assuming (big word) that cron is working, but I still do not receive any email.
I tried using the following in Cron Command:
/usr/bin/php -f /home/my_hosting_username/public_html/batch.php >> /home/my_hosting_username/public_html/cronlog.txt 2>&1
however received the following error:
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent in /home/my_hosting_username/public_html/includes/common.inc.php on line 15
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/my_hosting_username/public_html/includes/common.inc.php:15) in /home/my_hosting_username/public_html/includes/common.inc.php on line 15
Removing -f from the cron command resolves the above mention error and allowing the above cronlog.txt output again but still no email.
Anyway I can get cron to email me?
The email address in cron email was set to my username. I changed the username to my gmail account and read a support thread that stated that hotmail and gmail accounts may not work.
I changed the email address to my only hosted email account with you and I am still unable to receive email. I tried sending an email straight to my hosted email account and I still do not receive email.
My cronjob appears to be working according to the cron text log I have created.
Any issues with receiving e-mail?
---------- Post added 07-01-2011 at 12:56 AM ---------- Previous post was 06-30-2011 at 07:49 PM ----------
Able to receive email from my accounts now, however I am still unable to receive email from my cron jobs.
cpanel cron looks like:
*/5 * * * *
command:
/usr/bin/php /home/my_hosting_username/public_html/batch.php >> /home/my_hosting_username/public_html/cronlog.txt 2>&1
Where my_hosting_username is replaced with my hosting username.
output to cronlog.txt looks like:
X-Powered-By: PHP/5.2.17
Set-Cookie: PHPSESSID=bbd16aae73dc4185698e6c28ecf082ce; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-type: text/html
So I am assuming (big word) that cron is working, but I still do not receive any email.
I tried using the following in Cron Command:
/usr/bin/php -f /home/my_hosting_username/public_html/batch.php >> /home/my_hosting_username/public_html/cronlog.txt 2>&1
however received the following error:
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent in /home/my_hosting_username/public_html/includes/common.inc.php on line 15
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/my_hosting_username/public_html/includes/common.inc.php:15) in /home/my_hosting_username/public_html/includes/common.inc.php on line 15
Removing -f from the cron command resolves the above mention error and allowing the above cronlog.txt output again but still no email.
Anyway I can get cron to email me?