A client of mine recently switched servers. When using a cron job command like:
php ./ouradminpanel.php --dispatch=some_addon.cron --cron_password=my-cron-password
Or using a full path tho the admin panel.
It executes but seems to just chew up all available memory while it's in the init() routine. My guess is that it's in mysql.
After it runs silently (even a bad --cron_password value never generates an error) for over 2 minutes, it simply returns. I believe the process actually died with a SIG_SEGV but that is no silenced.
The same command runs in about 2 seconds when run through apache.
Anyone else seen this? It not only is affecting my addons but also SimTech and Cart Power as well. They all behave the same.
No where for php is there any reference to '--param' parameters other than using getopt() to parse it. But I can't find where it might be being parsed internally in cs-cart.
Curious if anyone else has seen this issue and solved it. The hosting helpdesk is pretty useless.