You are here:  » auto slow import via cron

Support Forum



auto slow import via cron

Submitted by shopinn on Sun, 2010-12-05 11:37 in

hi david
i am using ftp piggy to transfer my feed files as csv
could you tell me what the command line would / should look like for a cronjob to automate the slow import tool if this is possible

i am useless at command line functions so please go easy
thanks for your great support in the past
best reagrds
dave

Submitted by support on Mon, 2010-12-06 09:13

Hi Dave,

Try this as your CRON job - you shouldn't need to create a script or anything - just enter directly as the command to execute when creating a new CRON job in your web hosting control panel:

/usr/bin/wget --max-redirect=9999 -O /dev/null "http://www.example.com/scripts/import_slow.php?filename=@ALL"

(all on one line - replacing www.example.com with your site URL, plus any directory name in front of /scripts/ if you have Price Tapestry installed in a sub-directory)

Cheers,
David.
--
PriceTapestry.com