• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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