Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 29
  1. #11
    Join Date
    Apr 2011
    Location
    UK
    Posts
    54
    Plugin Contributions
    0

    Default Re: Can I use an auto Import/cron job for this?

    right i figured it out i had code in wrong, so now when i call the url cron1.php it automaticly logs in and imports products,

    now just need to sort out the cron job,

    could the same sort of thing ive just done (cron job) be made up to fetch a data text from a supplier? and could it fetch said data text file, convert it to csv file and import it into EPtemp?

  2. #12
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: Can I use an auto Import/cron job for this?

    You could add code to your cron1.php file to go fetch the file from the other server and store it on your server in the filename you set for EP, and then proceed with calling EP.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #13
    Join Date
    Apr 2011
    Location
    UK
    Posts
    54
    Plugin Contributions
    0

    Default Re: Can I use an auto Import/cron job for this?

    ok thank you, what would the comarnd be to set up the cron job? ive tryed some that have been posted but all i get in the email is a 404 page not found???

  4. #14
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: Can I use an auto Import/cron job for this?

    Quote Originally Posted by KNM Computers View Post
    ok thank you, what would the comarnd be to set up the cron job? ive tryed some that have been posted but all i get in the email is a 404 page not found???
    Your hosting company is the best resource to answer that, since they know their server better than any of us here do.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #15
    Join Date
    Apr 2011
    Location
    UK
    Posts
    54
    Plugin Contributions
    0

    Default Re: Can I use an auto Import/cron job for this?

    Quote Originally Posted by DrByte View Post
    Your hosting company is the best resource to answer that, since they know their server better than any of us here do.
    ok thank you

  6. #16
    Join Date
    Apr 2011
    Location
    UK
    Posts
    54
    Plugin Contributions
    0

    Default Re: Can I use an auto Import/cron job for this?

    ok i got the command from my hosting company and went to set one up but when it did it it sent me an email saying "no input file specified"

    could you please tell me what this means?

  7. #17
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: Can I use an auto Import/cron job for this?

    That usually means the script was expecting a filename but one wasn't provided. And that suggests that maybe the server's PHP CLI is set to require that you specify a -f parameter before giving the cron1.php filename.
    Again, your hosting company has probably encountered this and can help you sort it out.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #18
    Join Date
    Apr 2011
    Location
    UK
    Posts
    54
    Plugin Contributions
    0

    Default Re: Can I use an auto Import/cron job for this?

    ok thank you for your help

  9. #19
    Join Date
    Apr 2011
    Location
    UK
    Posts
    54
    Plugin Contributions
    0

    Default Re: Can I use an auto Import/cron job for this?

    can anyone help please? with this script below

    1. can it be used for a cron job?

    2. at the top of it there a space to put url to fetch file can a user name and password be added to script for a passwored url? if so how do i do it?

    3. can i modify the script to over ride an image url so instead of importing the image url that come with the feed file it would use an image url of i choose? if so how do i implement it ?

    thankyou


    http://www.zen-cart.com/attachment.p...3&d=1209389792

  10. #20
    Join Date
    Apr 2011
    Location
    UK
    Posts
    54
    Plugin Contributions
    0

    Default Re: Can I use an auto Import/cron job for this?

    also i have had support back from the company that my hosting is with and i got a command off them but when i made the cron job it said no input file specified, he then told me "make sure i have the right path" i tell him they gave me the path and it was php -q /home/username/plubic_html/admin/cron1.php

    then he then sent me this:

    I have looked at your cron job settings and no command is entered. You may need to seek advice from the scripts publisher, they should offer setup support.

    am i suppose to put a command in the cron1.php file?

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Admin auto login for a cron job
    By Gigo in forum Customization from the Admin
    Replies: 20
    Last Post: 9 Aug 2012, 07:39 AM
  2. Can I run Backup MYSQL Plugin v1.4 via cron job?
    By Renz in forum General Questions
    Replies: 2
    Last Post: 23 Mar 2012, 06:25 AM
  3. Setting up a cron job for the Snapshot add-on?
    By RescoCCC in forum All Other Contributions/Addons
    Replies: 11
    Last Post: 3 Jan 2012, 06:19 PM
  4. Cron Job for Optimize Database
    By Convergence in forum General Questions
    Replies: 4
    Last Post: 24 Jan 2011, 09:36 PM
  5. Cron Job for Updating QTY
    By ryanb4614 in forum General Questions
    Replies: 2
    Last Post: 9 Aug 2010, 07:13 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR