CSV CRON import is not working

More
7 years 8 months ago #5302 by IPotentials
I have implemented a CRON in order to import a CSV file. In the backend everything is working just fine, but the CRON is not working.

When manually type in the following command (in terminal session) "curl www.xxxxxxxxx.nl/index.php?option=com_vd...port&type=4S2q3RIAQA ", the following result is shown:

[4] 20866
[5] 20867
[2] Done curl www.xxxxxxxxx.nl/index.php?option=com_vdata
[3] Done task=set_import

After that, nothing is happening. The file is not imported and in the backend the Hits field keeps showing me the same number over and over again: 0

Looks to me that the "type=4S2q3RIAQA" part is not used while running the CRON

Is there something wrong in the automatically generated CRON command (by vData)

Please Log in to join the conversation.

More
7 years 8 months ago #5309 by Daniel
Hi,
Is the Import working fine when you do it manually? The Cron command works for most of the servers. If It's not working, you can get in touch with your hosting support team share the vData Cron URL and get the Cron command. If it still doesn't work, please share your backend & FTP login credentials via Contact us form, We'll look into it.

Thanks
Daniel

Please Log in to join the conversation.

More
7 years 8 months ago #5317 by IPotentials
Hi Daniel,

yes, manually everything is working fine!

I am hosting on my own servers by the way (CentOS 7.4 with cPanel / WHM). The Cron url I am using is:
curl https://www.{domainname}.nl/index.php?option=com_vdata&task=set_import&type=import_bewoners

Unfortunately I cannot give you access to the backend, because of EU privacy regulations.

I hope you can help me anyway :-)

Greetz
Ron

Please Log in to join the conversation.

More
7 years 8 months ago #5318 by Daniel
Did you get in touch with your Hosting support team and shared the Cron URL to get the Cron command?

Thanks
Daniel

Please Log in to join the conversation.

More
7 years 8 months ago #5319 by IPotentials
There is no hosting support team. I am hosting on my own servers. Many other CRONs are running on that servers, with no problems at all

Please Log in to join the conversation.

More
7 years 7 months ago #5382 by Daniel
Are you using the same command with those Crons as well?

Thanks
Daniel

Please Log in to join the conversation.

Cron Job Starts