cant run the cron

Status
Not open for further replies.

icemanc

New Member
Messages
26
Reaction score
0
Points
0
i got a mail saying that

<br />
<b>Warning</b>: exec() has been disabled for security reasons in <b>/home/mmmm/public_html/mmmm/cron/parser.php</b> on line <b>8</b><br />
can't clean run-p.flag



i gave this as command

/usr/bin/php -q /home/mmmm/public_html/mmmm/cron/parser.php

i set it for every hour
 
Last edited:

Jarryd

Community Advocate
Community Support
Messages
5,534
Reaction score
43
Points
48
Hello, exec() is disabled on free-hosting as it poses too much of a security risk.
 

Jarryd

Community Advocate
Community Support
Messages
5,534
Reaction score
43
Points
48
Exec() is a function in PHP, so somewhere in the php file you're trying to run by cron, there is a exec() function preventing it from being run.
 
Status
Not open for further replies.
Top