Results 1 to 10 of 29

Hybrid View

  1. #1
    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?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

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

    sigh. Who's the hosting company?
    .

    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. #3
    Join Date
    Apr 2011
    Location
    UK
    Posts
    54
    Plugin Contributions
    0

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

    fusion-uk

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

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

    Quote Originally Posted by KNM Computers View Post
    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.
    Sounds like they have no idea what they're talking about.

    Quote Originally Posted by KNM Computers View Post
    am i suppose to put a command in the cron1.php file?
    the cron1.php file IS the command


    It's possible their server can't run PHP scripts via cron because their CLI (command-line-interface) version of PHP isn't properly configured.
    .

    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. #5
    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
    Sounds like they have no idea what they're talking about.


    the cron1.php file IS the command


    It's possible their server can't run PHP scripts via cron because their CLI (command-line-interface) version of PHP isn't properly configured.
    ok this is what fusion uk say:

    We have checked and could see that the path which you have mentioned in the cron file was wrong.

    ==
    /home/username/plubic_html/admin/cron1.php
    ==

    We have corrected the path. Please check it now.

    ==
    root@srv9 [/home2/username/public_html/admin]# crontab -lu username
    MAILTO="[email protected]"
    0 * * * * php -q /home2/username/public_html/admin/cron1.php
    ==

    so i tryed that one and it didnt work so they say:

    The root access is disabled on our shared servers for security reasons.

    The root access is being called from a php file not the command line. We advise you to seek support from the script publisher.

    im begining to think they know nothing and im a noob

  6. #6
    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 KNM Computers View Post
    ok this is what fusion uk say:

    We have checked and could see that the path which you have mentioned in the cron file was wrong.

    ==
    /home/username/plubic_html/admin/cron1.php
    ==

    We have corrected the path. Please check it now.

    ==
    root@srv9 [/home2/username/public_html/admin]# crontab -lu username
    MAILTO="[email protected]"
    0 * * * * php -q /home2/username/public_html/admin/cron1.php
    ==

    so i tryed that one and it didnt work so they say:

    The root access is disabled on our shared servers for security reasons.

    The root access is being called from a php file not the command line. We advise you to seek support from the script publisher.

    im begining to think they know nothing and im a noob
    they say they have amended it and should work but again it did not but i did get an email saying:

    no it did not work, this is the email it sent:

    <br />
    <b>Parse error</b>: syntax error, unexpected T_REQUIRE in <b>/home2/isername/public_html/admin/cron1.php</b> on line <b>3</b><br />

    the problem now is the script isint it?

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

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

    its ok got it working i remade the cron1.php file and now works

    now just have to fight with the other script see if i can get that edited if any one knows how?
    Last edited by KNM Computers; 31 Jul 2013 at 01:03 PM.

 

 

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

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