You are here:  » Cron Not Importing AWIN Gzip


Cron Not Importing AWIN Gzip

Submitted by stew on Mon, 2015-09-21 10:41 in

Hi David,

Hope all's well & wondering if you know what's happening here. Have been adjusting this Cron all morning but can't get it to import correctly.

The fee am trying to import is for Oakfurniture land with AWIN, the other feeds import OK, I think it's because it is GZIP, I'll paste the cron below (if you're able to delete out the server paths):

-------------------------

{code saved}

------------------------------------

At present the awin_oakfurniturel.csv file is pulling into the server but the data looks scrambled - I guess still compressed,

Not sure if I need to change anything here?

Thanks,

Stew

Submitted by support on Mon, 2015-09-21 12:11

Hello Stew,

It might just be the -S "" parameter in the gzip command line as it an invalid in some versions of gzip - have a go with:

/usr/bin/gzip -c -d /path/to/feeds/awin_oakfurniturel.csv.gz > /path/to/feeds/awin_oakfurniturel.csv

Hope this helps!

Cheers,
David.
--
PriceTapestry.com

Submitted by stew on Mon, 2015-09-21 13:09

Hi David,

Many thanks for looking at that - fantastic - changed it as per you line & worked 1st time - great!

Many thanks,

Stew