Support is online

cron job fails #8440

Open kostas7 opened this topic Friday, 05 August 2016 · 5 replies
Author

Hello,
I try to run the next cron job on cpanel

/usr/bin/php /home/myHomeDirectory/public_html/administrator/components/com_csvi/helper/cron.php --key="mykey" --template_name="001 Prices and stock"

and I get this error in my email

X-Powered-By: PHP/5.6.24
Set-Cookie: 2f0de10cac2ddbb103b5a7390ca9e005=cb8e3948cc6412dade1e9ea6c9dd6e79; path=/; HttpOnly
Content-type: text/html; charset=UTF-8

Use --help to see the help information
Cannot load template name 001

Thanks,
Best Regards
Kostas

Support

Hello Kostas,
The error says that there is no template name 001 though you have posted the correct cron settings. Can you try to run this command in your command line interface for testing and see how it goes?

Kind regards,

Tharuna

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

Author

Hello Tharuna,
I don't know where is this command line interface, Im new to cpanel, if you can show me where to go I'll do it.
Thanks,
Best Regards
Kostas

Support

Hello Kostas,
Before getting into command line interface, can you try setting template_id instead of template_name? To get the template id, on templates page, click on your "001 Prices and stock" template, in the browser URL, look for csvi_template_id=X, X is the template id. Try setting this to your cron settings and see if it works.

Kind regards,

Tharuna

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

Author

Hello Tharuna,
with the template id works fine.
Thanks.
Best Regards,
Kostas

Support

Hello Kostas,
Glad to know that it is working, probably something would have gone wrong in setting with template name.

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.