Support is online

Import XML with cronjob #81597

Open prototype opened this topic Tuesday, 08 October 2024 · 1 reply
Author

One more question please.
Ι have 11 xml of the same vendor.
I run the following command thought cronjob.
Is it correct?

/usr/local/bin/php /home3/ntomatoo/public_html/portal/cli/joomla.php rocsvi:import --template_id=10 --key=im-pr-vectorbrands-wd40 >/dev/null 2>&1 && /usr/local/bin/php /home3/ntomatoo/public_html/portal/cli/joomla.php rocsvi:import --template_id=20 --key=im-pr-vectorbrands-armor >/dev/null 2>&1 && /usr/local/bin/php /home3/ntomatoo/public_html/portal/cli/joomla.php rocsvi:import --template_id=21 --key=im-pr-vectorbrands-master >/dev/null 2>&1 && /usr/local/bin/php /home3/ntomatoo/public_html/portal/cli/joomla.php rocsvi:import --template_id=22 --key=im-pr-vectorbrands-base >/dev/null 2>&1 && /usr/local/bin/php /home3/ntomatoo/public_html/portal/cli/joomla.php rocsvi:import --template_id=23 --key=im-pr-vectorbrands-fiscar >/dev/null 2>&1 && /usr/local/bin/php /home3/ntomatoo/public_html/portal/cli/joomla.php rocsvi:import --template_id=24 --key=im-pr-vectorbrands-hozelo >/dev/null 2>&1 && /usr/local/bin/php /home3/ntomatoo/public_html/portal/cli/joomla.php rocsvi:import --template_id=25 --key=im-pr-vectorbrands-turtle >/dev/null 2>&1 && /usr/local/bin/php /home3/ntomatoo/public_html/portal/cli/joomla.php rocsvi:import --template_id=26 --key=im-pr-vectorbrands-stp >/dev/null 2>&1 && /usr/local/bin/php /home3/ntomatoo/public_html/portal/cli/joomla.php rocsvi:import --template_id=28 --key=im-pr-vectorbrands-little >/dev/null 2>&1 && /usr/local/bin/php /home3/ntomatoo/public_html/portal/cli/joomla.php rocsvi:import --template_id=29 --key=im-pr-vectorbrands-soudal >/dev/null 2>&1 && /usr/local/bin/php /home3/ntomatoo/public_html/portal/cli/joomla.php rocsvi:import --template_id=27 --key=im-pr-vectorbrands-hpx >/dev/null

Support

Hello,
Yes command looks correct. Please run the import and check.

Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Log in to reply to this topic.