• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

cronjob and php value

keff

Basic Pleskian
Hi,

on one of my sites it's set a cronjob php file. I've set the cronjob in plesk but getting error like this:

Warning: set_time_limit(): Cannot set time limit in safe mode in /var/www/vhosts/domain/httpdocs/engine/cron/cronjob.php on line 12

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 40 bytes) in /var/www/vhosts/domain/httpdocs/engine/model/ProductModel.php on line 384

The strange thing is the safe mode for this domain is Off. When I put the php file with phpinfo() in it. It shows me the all settings like:

set_time_limit(0);

ini_set("memory_limit","100M");

are set properly. So, what I do wrong?

Please help me with that.
 
Back
Top