Results 1 to 3 of 3

Thread: Schedulers do not take any effect

  1. #1
    ianmaciel is offline Sugar Community Member
    Join Date
    Aug 2010
    Location
    Florianópolis, Brazil
    Posts
    34

    Question Schedulers do not take any effect

    I have some schedulers on SugarCE that are not taking any effect.

    I can't figure out what exactly is happening but I will try to describe a little here:

    Here is some stuffs I have already checked and looks ok:
    • I have already added the batch to Windows task scheduler (I'm using Win. Server);
    • The batch results no error when ran it from cmd;
    • On Sugar Scheduler taks appers with last ran time - so it looks like working perfectly;
    • Tasks are marked as "active";
    • Mailbox looks are being updating correctly;



    • E-mails reminds are no sent. But if I click "to send invites" the invites are sent (so its look the problem isn't with smtp configuration);
    • I have a custom module that generates a spread sheet (xls) - When I try to add a custom URL task on scheduler, I add this url but no xls are generated - so the task is not firing the custom module;


    Does anyone know what else could I look for?
    Where I can find the error and make the schedulers work correctly?


    Edit:
    On sugarcrm.log I can observe an error, but I still couldn't discovery what could be the problem:

    01/30/13 17:27:03 [1852][1][FATAL] Job failed: index.php?entryPoint=prev_vendas_xls&module=rvx_re ports&record=94fcc16b-ef85-dd57-62dd-50b4b82b989c&action=xls&aba=PrevisaoDeVendas
    01/30/13 17:27:03 [1852][1][FATAL] Job 6811bd0b-cbb3-cf91-92ed-510974d7a863 (teste-criar planilha) failed in CRON run




    Thanks in advance,

    Ian Maciel
    Last edited by ianmaciel; 2013-01-30 at 05:30 PM. Reason: Additional information - sugarcrm.log

  2. #2
    jmertic's Avatar
    jmertic is offline Sugar Community Manager
    Join Date
    Dec 2007
    Posts
    3,996

    Default Re: Schedulers do not take any effect

    You might want to add some debugging code that sends errors out to the sugarcrm.log to figure this out. It sounds like the job is running, but there's an error being run in the context of a cron job.
    John Mertic
    Sugar Community Manager

  3. #3
    davidboris's Avatar
    davidboris is offline Sugar Community Member
    Join Date
    May 2010
    Posts
    1,525

    Default Re: Schedulers do not take any effect

    Hello,

    I'd suggest $GLOBAS['log']->fatal('<your_message>'); to each step and figure out where it failed exactly.
    Web : http://www.urdhva-tech.com
    Twitter : @urdhvatech
    Email : contact@urdhva-tech.com
    Blog : Urdhva-Tech
    Skype : urdhvatech

    Our Premium Projects for SugarCRM:
    Premium theme for SugarCRM CE (Community Edition 6.5+ with 4 combinations, Black + Orange/Red/Green/Blue, bootstrap3 based)
    Duplicate detector to avoid duplicate data entry.
    Customer Self Service Portal for All Flavours.
    tagMe A complete tag management for SugarCRM.
    Meeting Map Reminder Meeting reminder with Gmap in Email

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Schedulers do not take any effect
    By ianmaciel in forum Help
    Replies: 2
    Last Post: 2013-01-30, 08:06 PM
  2. Locale change not having any effect
    By robertmarkbram in forum Developer Help
    Replies: 16
    Last Post: 2012-01-10, 01:24 PM
  3. Updating roles none effect
    By acattaneo in forum General Discussion
    Replies: 12
    Last Post: 2009-11-06, 08:55 AM
  4. Administrative changes have no effect
    By LeFou in forum Installation and Upgrade Help
    Replies: 2
    Last Post: 2009-09-17, 06:36 PM
  5. Edits don't take effect
    By bkudria in forum Help
    Replies: 4
    Last Post: 2006-03-15, 12:44 AM

Tags for this Thread

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
  •