Please note that Form2Content is no longer being developed. All files from the latest version can be found on Github.

Form2Content Forum

Questions and answers for Form2Content, a Joomla CCK.
  1. Andrea Parmeggiani
  2. F2C XML import/export
  3. Wednesday, 14 January 2015
  4.  Subscribe via email
Hello,
there is any chance to run xml f2c articles import from command line / cronjob
without using curl on http://domain.com/index.php?option=com_form2content&task=articleimportcron

for example:
php index.php -com_form2content -articleimportcron

thanks
Responses (4)
Accepted Answer Pending Moderation
I already use this trick
wget -O /dev/null www..../index.php?option=com_form2content&task=articleimportcron

but http requests have small timeout, non enough for large xml import

the solution is "have a look into /cli joomla folder"

regards
Andrea
  1. more than a month ago
  2. F2C XML import/export
  3. # 1
Accepted Answer Pending Moderation
Hello,

Looking forward for a cronjob on the XML import. For example Acymailing use it for triggering automarketing. https://www.acyba.com/acymailing/129-acymailing-cron-task.html

Regards,

Evert
  1. more than a month ago
  2. F2C XML import/export
  3. # 2
Accepted Answer Pending Moderation
Hello Julien

it's not a standard practice, you should create an apposite command line script

for an example take a look at joomla finder cli script cli/finder_indexer.php

I need to import hundreds of f2c items and import by http url goes timeout.......

Regards
  1. more than a month ago
  2. F2C XML import/export
  3. # 3
Accepted Answer Pending Moderation
Hello Andrea,

I'm not familiar with that syntax. Do you know of other Joomla components that can be called this way?

best,
Julien
  1. more than a month ago
  2. F2C XML import/export
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.