Results 1 to 6 of 6

Thread: Could not open input file: cron.php

  1. #1
    celcat is offline Junior Member
    Join Date
    Jul 2009
    Posts
    4

    Default Could not open input file: cron.php

    Hello all,

    I'm trying to setup the email schedule to check for new messages. I'm using the following in my batch file

    "F:\Program Files\sugarcrm\php\php" -f cron.php

    When it runs, it keeps returning

    Could not open input file: cron.php

    I'm running Sugar on Windows 2003 using the Sugar Stack installer for MySQL

    Any ideas would be greatly appriciated

    Thanks

    Chris

  2. #2
    celcat is offline Junior Member
    Join Date
    Jul 2009
    Posts
    4

    Default Re: Could not open input file: cron.php

    I've got a step further I think. I now get

    Bad data passed in; <a href="http://127.0.0.1:80/sugarcrm">Return to Home</a>PHP
    Fatal error: Cannot redeclare class Tracker in F:\Program Files\sugarcrm\htdoc
    s\sugarcrm\modules\Trackers\Tracker.php on line 45

    From my previous post, I now use the following in my bat file

    ====
    F:
    cd "F:\Program Files\sugarcrm\php
    php.exe "F:\Program Files\sugarcrm\htdocs\sugarcrm\cron.php"
    ====

  3. #3
    celcat is offline Junior Member
    Join Date
    Jul 2009
    Posts
    4

    Default Re: Could not open input file: cron.php

    Hello again,

    I'm now getting a step further. I used the following as my bat file

    "F:\Program Files\sugarcrm\php\php-cgi.exe" -c "F:\Program Files\sugarcrm\php\php.ini" -f "F:\Program Files\sugarcrm\htdocs\sugarcrm\cron.php"

    I did get a couple of auto responses which is good but it now appears to have stopped again. Is there a log which might help anywhere?

    Regards

    Chris

  4. #4
    celcat is offline Junior Member
    Join Date
    Jul 2009
    Posts
    4

    Default Re: Could not open input file: cron.php

    Working now. I didn't change my Auto-reply template. Everything working now


  5. #5
    RyNe is offline Member
    Join Date
    Jun 2009
    Posts
    7

    Thumbs up Re: Could not open input file: cron.php

    Huh Thank you for talking to yourself! Your thread helped me to solve similar problem

  6. #6
    leowolff is offline Sugar Community Member
    Join Date
    Apr 2009
    Posts
    126

    Default Re: Could not open input file: cron.php

    Amazing, thanks to the info, finally I put my shecduler to work!
    Regards,

    SugarCRM CE v.5.2.0c
    Windows platform
    MySQL v.5.0.37
    phpMyAdmin - 2.11.2.2
    Apache Server v.2.0

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. What i need to write php.exe -f cron.php file?
    By ramji123 in forum Developer Help
    Replies: 5
    Last Post: 2009-11-19, 05:24 PM
  2. Error in cron.php file
    By mms1985 in forum Developer Help
    Replies: 3
    Last Post: 2009-11-19, 05:19 PM
  3. Replies: 0
    Last Post: 2008-12-30, 06:39 PM
  4. Select file located on server for input
    By andreasbalzer2 in forum Feature Requests
    Replies: 0
    Last Post: 2008-11-01, 03:40 PM
  5. Help with cron file
    By crowdes in forum Help
    Replies: 0
    Last Post: 2007-04-04, 04:17 PM

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
  •