Topic-icon CSV CRON import is not working

More
29 Jan 2018 11:18 #5395

The command you are already using doesn't work if the URL has variables appended to it. That's why I asked you to contact your server support team to get the command for this kind of URLs.


Thanks
Daniel

Please Log in or Create an account to join the conversation.

  • IPotentials
  • IPotentials's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
29 Jan 2018 09:21 #5393

Thanks for the input, but unfortunately it didn't help

Please Log in or Create an account to join the conversation.

More
29 Jan 2018 03:03 #5392

I once had this problem. In my case I found that it was caused by my multi-lingual setting which redirects accesses to index.php to /en/. Then I needed to add "/en" in the middle of the URL. Don't know if it is your case, but worth seeing. Check your apache access log and see any 301 return codes. Please check also, by verbose curl output to see any terms about redirect.

Good luck.

Please Log in or Create an account to join the conversation.

  • IPotentials
  • IPotentials's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
28 Jan 2018 20:26 #5391

Here is the Akeeba Backup command I use, and is working just fine (the xxxxxx are manually done by me):

/opt/cpanel/ea-php71/root/usr/bin/php /home/xxxxxxxxxx/public_html/cli/akeeba-backup.php --profile=1 >/dev/null 2>&1

Please Log in or Create an account to join the conversation.

More
26 Jan 2018 11:47 #5382

Are you using the same command with those Crons as well?


Thanks
Daniel

Please Log in or Create an account to join the conversation.

  • IPotentials
  • IPotentials's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
12 Jan 2018 07:33 #5319

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 or Create an account to join the conversation.

More
12 Jan 2018 07:30 #5318

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 or Create an account to join the conversation.

  • IPotentials
  • IPotentials's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
12 Jan 2018 05:51 #5317

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 or Create an account to join the conversation.

More
11 Jan 2018 11:32 #5309

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 or Create an account to join the conversation.

  • IPotentials
  • IPotentials's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 Jan 2018 15:06 #5302

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 or Create an account to join the conversation.

Cron Job Starts