Results 1 to 9 of 9

Thread: Unable to configure cron.php,scheduler & bat file plz help

  1. #1
    srini123 is offline Senior Member
    Join Date
    May 2009
    Posts
    48

    Unhappy Unable to configure cron.php,scheduler & bat file plz help

    i have been trying from few days i was unable to send the mails at a particular time the mails are stucked at the queue.


    C:\Program Files\sugarcrm-5.2.0d\php php.exe

    C:\Program Files\sugarcrm-5.2.0d\php php.ini

    C:\Program Files\sugarcrm-5.2.0d\htdocs\sugarcrm sugar installed directory



    Cron.php is present @ C:\Program Files\sugarcrm-5.2.0d\htdocs\sugarcrm




    In bat file i used the


    cd \Program Files\sugarcrm-5.2.0d\htdocs\sugarcrm

    C:\Program Files\sugarcrm-5.2.0d\php\php-cgi.exe -c c:\windows\php.ini -f cron.php

    does i configured correctly?

    i was unable to create schedule through command prompt ..how to create that plz guide me






    I have followed the below procedure to send mails but it is not working

    For Windows, as a user with Administrator privileges, go to Start > Settings > Control Panel >
    Scheduled Tasks. Double-click on Add Scheduled Task. When the Scheduled Task Wizard asks
    you for the program you want Windows to run, browse for the scheduler.php file under your
    path-to-sugar directory. Continue with the rest of the Wizard, making sure you click on the Daily
    option when asked when to perform this task.

    Before you click on the Finish button for the Scheduled Task Wizard, check the box that says,
    Open advanced properties for this task when I click Finish. A new dialog box displays after you
    click Finish. Click on the Schedule tab, and then on the Advanced button. Check the box for
    Repeat task and specify every 10 minutes with duration of 24 hours.

    It is not working properly i need suggestions to do the task

  2. #2
    srini123 is offline Senior Member
    Join Date
    May 2009
    Posts
    48

    Question Re: Unable to configure cron.php,scheduler & bat file plz help

    finally i have created a batch file it is running at the scheduled time but there is no change in the queued mails ihave specified the location of the batch file in the windows scheduler also and made the runNightlymassemail as active .



    whenever the scheduler is running the php.ini file and cron.php files are being opened in note pad one after the other



    the below is my bat file


    cd c:\Program Files\sugarcrm-5.2.0d\htdocs\sugarcrm\
    "C:\Program Files\sugarcrm-5.2.0d\php\php-cgi.exe -c"
    "C:\Program Files\sugarcrm-5.2.0d\php\php.ini" -f
    "C:\Program Files\sugarcrm-5.2.0d\htdocs\sugarcrm\cron.php"



    any one please respond asap

    thanks in advance.
    srini

  3. #3
    srini123 is offline Senior Member
    Join Date
    May 2009
    Posts
    48

    Question Re: Unable to configure cron.php,scheduler & bat file plz help

    no one responding ....

  4. #4
    crmsiva's Avatar
    crmsiva is offline A Sugar Hero
    Join Date
    Jan 2009
    Location
    Chennai, India
    Posts
    1,130

    Default Re: Unable to configure cron.php,scheduler & bat file plz help

    Hi

    Try the below one

    Code:
    cd\
    cd C:\Program Files\sugarcrm-5.2.0d\php
    php.exe C:\Program Files\sugarcrm-5.2.0d\htdocs\sugarcrm\cron.php

  5. #5
    srini123 is offline Senior Member
    Join Date
    May 2009
    Posts
    48

    Question Re: Unable to configure cron.php,scheduler & bat file plz help

    Hi,siva


    thank u very much for ur reply.

    iam getting the below erro.



    error

    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 c:\program files\sugarcrm-5.2.0d\htdocs\sugarcrm\modules\Trackers\Tracker.ph p on line 45


    i have tried this sol
    http://www.sugarcrm.com/forums/showthread.php?t=43546

  6. #6
    pranky27 is offline Junior Member
    Join Date
    Nov 2009
    Posts
    3

    Default Re: Unable to configure cron.php,scheduler & bat file plz help

    Hi,

    Please check this url: Hope this will guide you how to configure cron on wamp and xampp on windows.
    http://www.pankajdangi.com/2009/05/c...ws-xampp-wamp/

  7. #7
    barrybert is offline Senior Member
    Join Date
    May 2010
    Posts
    75

    Default Re: Unable to configure cron.php,scheduler & bat file plz help

    Thanks for the useful URL its helpful to me also..


  8. #8
    mkp
    mkp is offline Junior Member
    Join Date
    Sep 2010
    Posts
    4

    Exclamation Re: Unable to configure cron.php,scheduler & bat file plz help

    I think the present problem is due to wrong configuration. I would advise him to configure it once more. In all probability it will fix the issue. Anyway I have asked one of my friends who is working for sugarcm to help. I have sent a detailed mail to him pointing out all the aspects of the problem including the latest error message. He will be replying within a week. I hope that Srini123 has got the patience to wait till then.
    Last edited by mkp; 2010-11-19 at 11:12 AM.

  9. #9
    christinecccc is offline Junior Member
    Join Date
    Feb 2011
    Posts
    1

    Default Re: Unable to configure cron.php,scheduler & bat file plz help

    did you solve your problem?

    Christine Bounds
    Dewalt Dc720ka drill

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Cron and scheduler
    By sanocli in forum Help
    Replies: 3
    Last Post: 2010-03-03, 04:32 PM
  2. cron job / Scheduler Sugar CRM
    By hiko in forum Developer Help
    Replies: 4
    Last Post: 2010-02-14, 08:57 AM
  3. Error with cron.php - Scheduler
    By danilozp in forum Help
    Replies: 3
    Last Post: 2008-05-06, 11:17 PM
  4. Replies: 1
    Last Post: 2007-04-20, 07:30 PM
  5. Need help with Cron Jobs and Scheduler
    By Saurabhdadu in forum Help
    Replies: 1
    Last Post: 2006-10-09, 06:19 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
  •