Hello,
first: thank for great support, as usual.
I'd like to set up a cron job for some specific feed, using slow import tool. Is possible?
I mean import the csv file for some merchants
I have cpanel
Thanks for info
Hi David, can i send you a custom job (i will pay) for automating the fetch script?
Hi,
If you're not sure about anything after the following the instructions let me know and i'll take a look for you. Are you running on a Linux server and have an option through your hosting control panel to create cron processes?
Cheers,
David.
Yes, its a vps i have root access to it.
But i will email you with all details, but i really want to pay for it (paypal).
I think your support here is the best i have seen around the net, so i pretend to pay for this custom support.
I will email you all that i pretend to do,
thank you.
Hi,
Sure - have you already created a fetch script to retrieve the feeds; as per the instructions in the following thread:
http://www.pricetapestry.com/node/198
If you haven't yet, follow the instructions as far as downloading (and unzipping if necessary) the CSV feeds you want to slow import; and then if you could email me your fetch only script; I'll make the changes required to automate the slow import for those feeds...
If you're not sure about creating a fetch.sh script and running it via cron (you should find an option to create a cron task in your cpanel), let me know and I'll help you out with that also...
In summary; I would create your fetch.sh script in your home FTP directory; which is normally one level above your public HTML folder (public_html is a common name for it). This will mean that people browsing your site can't accidentally come across your fetch.sh which might contain passwords etc.
If you go to your Price Tapestry installation, and then to /admin/ and click Support Info, you will see the "Installation Path" value, which will be something like
/home/username/public_html/
In which case, if you have put your fetch.sh script in your home folder; the command line for your fetch script would be
/home/username/fetch.sh
...so in cpanel, you would create a cron process with the following command line:
/bin/sh /home/username/fetch.sh
Cheers,
David.