• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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