Cron help?

Status
Not open for further replies.

Garath531

New Member
Messages
8
Reaction score
0
Points
0
CPanel Username: garath53

Domain/subdomain: http://garath531.x10hosting.com

Problem:

I am trying to use this cron

cd /home/user/public_html ; php -q file.php

(yes, I am replacing user and file)

But the message it sends me says:

cron message said:
ALERT - function within blacklist called: mail() (attacker 'REMOTE_ADDR not set', file '/home/user/public_html/file.php', line 2)
<br />
<b>Warning</b>: mail() has been disabled for security reasons in <b>/home/user/public_html/files.php</b> on line <b>2</b><br />

I have PHP version 2. Why is this happening?
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
Instead of php -q use php-cron -q

We have a modified version strictly for crons.

-Corey
 
Status
Not open for further replies.
Top