You are here:  » Auto Updating Products


Auto Updating Products

Submitted by ccgale on Fri, 2013-08-09 11:17 in

HI

Am new to the software, have read through the forums but still couldn't find anything to match what I trying to work out.

I have imported a number of merchants into my TP installation through the Automation Tool and subsequently I registered the feeds and imported the products. How would I go about setting the script up so that it automatically imports new feeds from merchants every 14 days and imports these into the site. I'm guessing that this is through the cron jobs but cannot figure out which. Would I set the fetch.php to run and then the import.php? Would this update all the feeds in the automation tool page?

Many thanks
Carl

Submitted by support on Fri, 2013-08-09 11:29

Hello Carl, and welcome to the forum!

Yes - it's a cron job that you need to set-up, configured to execute scripts/cron.php on the schedule you wish (14 days).

The script attempts to work out the preferred exact CRON commands to use, so if you go to the Support Info page of your Price Tapestry installation's /admin/, and at the end of the page you will see the worked out commands. Option 1 is the preferred option if available, and it will look something like this:

cd /path/to/pricetapestry/scripts;/usr/bin/php cron.php

Creating the CRON job would normally be done through your web hosting control panel. Look for a CRON section; where you will be able to enter the command (as above, copied from your Support Info page) and the schedule on which you want it to run, and that should do the trick!

If neither Option1 or Option 2 CRON commands are showing on your Support Info page, or you don't seem to have a CRON section in your hosting control panel let me know and I'll help you out further...

Cheers,
David.
--
PriceTapestry.com

Submitted by ccgale on Fri, 2013-08-09 12:39

Thanks for the quick reply. I have option one in the support -

cd /home/correct/domains/xxxx/public_html/database/scripts;/usr/local/bin/php cron.php

so I'll pop that in my cron jobs in Direct Admin and set it for 14 days. That will update all the merchants feeds and reimport everything?

Submitted by support on Fri, 2013-08-09 12:48

That's correct!

cron.php runs all automation tool jobs to update the merchants feeds, and then imports all feeds.

Cheers,
David.
--
PriceTapestry.com

Submitted by sbedigital on Sun, 2013-08-11 00:32

As long as feed is registered. This part is very important