Cronjob, memory_limit


(tongo91) #1

Hi,

is it possible to add a small feature to the cronjob script? Somthing to define the memory_limit. I’m using Piwik on a Plesk Server. There is no PHP-CLI installed. So the default memory_limit is used (32MB). I added following to “archive.sh” after the php binary exists check:

PHP_BIN="$PHP_BIN -d memory_limit=512M"

With this i can finally use the cronjob without memory problems. I think this will be lost, when i update to the next version, right?

greets