stanley-king 9 éve
szülő
commit
70784c59c4
2 módosított fájl, 10 hozzáadás és 10 törlés
  1. 2 2
      crontab/crawl/fetch_config.php
  2. 8 8
      crontab/crawl/fetch_goods.php

+ 2 - 2
crontab/crawl/fetch_config.php

@@ -13,6 +13,6 @@ class fetch_config
 //    const store_id = 3;
     const store_id = 6;
     const goods_state = 0;
-    const tmp_file = '/private/var/tmp/phpxxkkdl';
-    //const tmp_file = '/tmp/phpxxkkdl';
+    //const tmp_file = '/private/var/tmp/phpxxkkdl';
+    const tmp_file = '/tmp/phpxxkkdl';
 }

+ 8 - 8
crontab/crawl/fetch_goods.php

@@ -56,14 +56,14 @@ function not_null($str)
 $treater = new brand_operator();
 
 
-$cat = new category();
-$cat->proc();
-
-$treater = new pretreat_tmdata();
-$treater->proc(false);
-
-$spec = new spec_attr_parser();
-$spec->proc();
+//$cat = new category();
+//$cat->proc();
+//
+//$treater = new pretreat_tmdata();
+//$treater->proc(false);
+//
+//$spec = new spec_attr_parser();
+//$spec->proc();
 
 $importer = new product_importer();
 $importer->proc_shop();