by admin » Fri Mar 19, 2021 5:34 pm
hello, i suggest to use CLI from CRON this way:
(assuming cpanel or similar setup)
1. ideally create
/home/{your user}/cron.sh
file and mark it as executable (chmod +x cron.sh )
2. content should be:
#!/bin/bash
/usr/local/bin/php /home/{your user}/public_html/administrator/components/com_onepage/cli.php --task=xmlexport --myurl=https://{your domain}/ --debug=1
3. in cpanel create a cron job:
/home/{your user}/cron.sh
to be run once a day
OR
directly within the cpanel setup enter cron job as:
/usr/local/bin/php /home/{your user}/public_html/administrator/components/com_onepage/cli.php --task=xmlexport --myurl=https://{your domain}/ --debug=1 --override_jroot=/home/{your user}/public_html
if the shop is too large CLI is much more reliable way of running the exports and slow tasks. CLI is not limited by timeout and can have much larger memory support.
if this doesn't help you, pls write me an email to info @ rupostel.com and i can invetigate the issues on your site directly - usually problems are caused by "gzip" compression + timeouts in apache or php + too few memory for direct access, etc...
best regards, stan