Hi Roland
I hope you are well today !
Is it possible to use the method wget/HTTP GET to run a CSVI Cron Task ?
My provider ( IONOS ) offers this method which is most simple for me ( interface I can program and change easyly )
However it's not working at this moment
Here are 2 urls I am trying to run :
https://******.fr/index.php?option=com_csvi&view=import&csvi_template_id=1111&key=9999&task=import
OR
https://******.fr/administrator/components/com_csvi/helper/cron.php&key=9999&template_id=1111
Can you help me ?
Eric
- ekcsvi
- RO CSVI
- Wednesday, 22 January 2020
- Subscribe via email
0
Accepted Answer
Pending Moderation
Hello Eric,
You cannot use cron file with domain name, the cron.php file is for running import from command line and will not work with browser.
This URL looks correct. Did you try running this URL manually? Does the import work?
Can you tell us what is not working? Are you seeing any error on import?
https://******.fr/administrator/components/com_csvi/helper/cron.php&key=9999&template_id=1111
You cannot use cron file with domain name, the cron.php file is for running import from command line and will not work with browser.
https://******.fr/index.php?option=com_csvi&view=import&csvi_template_id=1111&key=9999&task=import
This URL looks correct. Did you try running this URL manually? Does the import work?
However it's not working at this moment
Can you tell us what is not working? Are you seeing any error on import?
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Did you try running this URL manually?
Yes, it's working manually ...
... but it's lasting 2seconds and not transfering any datas when scheduled ...
No error displayed
I need to leave my office until friday now.
As you say the command seems ok I will ask my provider and let you know then !
Yes, it's working manually ...
... but it's lasting 2seconds and not transfering any datas when scheduled ...
No error displayed
I need to leave my office until friday now.
As you say the command seems ok I will ask my provider and let you know then !
Accepted Answer
Pending Moderation
Hello,
Are you saying with WGET import does not transfer any data or it happens with manual import itself?
... but it's lasting 2seconds and not transfering any datas when scheduled ...
Are you saying with WGET import does not transfer any data or it happens with manual import itself?
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Are you saying with WGET import does not transfer any data = YES
Manual import is fine !
Regards
Eric
Manual import is fine !
Regards
Eric
Accepted Answer
Pending Moderation
Hello Eric,
Calling the template via a URL is not actually called a cron job Cron jobs are jobs that run directly and don't need a webserver. Semantics aside, RO CSVI can be called via a front-end URL as well just you are limited to the 30 second timeout and other imposed limitations.
We have documented in the Run crom using URL on frontend document on how to set this up. Have you followed these steps?
Especially important is to enable the Enable frontend/cron option to Yes.
Calling the template via a URL is not actually called a cron job Cron jobs are jobs that run directly and don't need a webserver. Semantics aside, RO CSVI can be called via a front-end URL as well just you are limited to the 30 second timeout and other imposed limitations.
We have documented in the Run crom using URL on frontend document on how to set this up. Have you followed these steps?
Especially important is to enable the Enable frontend/cron option to Yes.
Kind regards,
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »