Command PHP.

How can I execute:

/usr/local/lsws/lsphp56/bin/lsphp  -d memory_limit=512M -f /home/domain/public_html/cron.php >> /home/domain/public_html/var/log/cron.log 2>&1

options -d memory_limit=512M -f no exist in lsphp

Thks,

Hello

You can use php binary at

/usr/local/lsws/lsphp56/bin/php

Regards

for me cron jobs for prestashop worked finelly on centos7 with cyberpanel litespeed…

with these commands in crontab -e

          • /usr/local/lsws/lsphp56/bin/php “/home/familiar.fashion/public_html/index.php” “fc=module&module=cron&controller=cron&token=NCGECLAM”
          • /usr/local/lsws/lsphp56/bin/env php “/home/familiar.fashion/public_html/index.php” “fc=module&module=cron&controller=cron&token=NCGECLAM”

i dont know which one works but one works for sure