1. prodejnakoleu
  2. RO CSVI
  3. Thursday, 31 May 2018
  4.  Subscribe via email
Hello Rolland :)
please help how to set up your new cron commad when I used this way of cron command

http://xxxl.eu/administrator/components/com_csvi/helpers/cron.php?username=myuser&passwd=mypass&template_id=48

I can not input cron command with empty spaces.
Thanks
Ivan
Accepted Answer Pending Moderation
Hello Ivan,
Have a look at setting up cron job document to know to set up your cron. The document also explains on how you can setup the cron in your cpanel.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Hello tharuna, I've not got any Cpanel. I can use command only without spaces as a link. I try to use this import command but without success.

http://www.xxx.eu/administrator/components/com_csvi/helper/cron.php?--key=mysecretword&--template_id=9
Template id is 9
I did not understand what is mysecretword

Do I have to put a path to csv at command? Because It is sets in in template

Thanks
Ivan
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hello Ivan,
You can check the Run cron using URL on Frontend document. This setup does not need a cpanel but can run the import using a link on frontend.

I did not understand what is mysecretword

In your template settings on Details tab, look for Secret key field. You need to set a secret key for your template and save it.

Do I have to put a path to csv at command? Because It is sets in in template

Using link for import you just have to set your import file in the template.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
Hello,
I tried to create frontend link according your manual. For example http://www.prodejnakol.eu/leader-sklad. When I use this link the command is done with accomplish records. But when this link use in my cron jobs at my hosting provider. Command is done but without any records. Why
Thank you for yours respond. Why?
Vana
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
Hello Vana,
Can you post the debug log of your import? Check How to collect debug information? document to get the debug log.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 5
Accepted Answer Pending Moderation
Debug log
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 6
Accepted Answer Pending Moderation
Hello Vana,
The debug log you posted is empty. Are you sure this is the debug log of your import?
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 7
Accepted Answer Pending Moderation
Yes this is cron when I used this command by cron where I insert link http://www.prodejnakol.eu/leader-sklad. and debug log is empty but when this link use manully inserting in browser command is execute with 314 records.
  1. more than a month ago
  2. RO CSVI
  3. # 8
Accepted Answer Pending Moderation
Hello,
You should not be using the link on the cron job, that wont work. Since you said in your previous post that you dont have a cpanel and cannot run cronjob in normal way, You need to find a way to trigger this URL. Perhaps try running this using bash script. You hosting provider should be able to help you with it.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 9
Accepted Answer Pending Moderation
Hello,

What Tharuna is trying to say is that just pasting the URL in the crontab command field won't do anything because it won't trigger the URL as it is supposed to trigger a local file. So the only real option you have is to either create a bash script on your server and let the cron command run the bash script. This script will then have the command you want to execute, this would then be a normal call to the CSVI cron file or alternatively a wget or curl command to call the frontend link. Really running frontend links from cron is not really the best way to go.

Even better would be to have your host offer a real cron mechanism where spaces are allowed.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 10
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!