Results 1 to 4 of 4

Thread: Scheduler Dates Incorrect

  1. #1
    mmakowski is offline Member
    Join Date
    Dec 2006
    Posts
    5

    Default Scheduler Dates Incorrect

    MySQL Version 4.1.12
    Windows 2003 Web Edition
    System Windows NT PLATO 5.2 build 3790
    Build Date Jan 11 2006 16:35:21
    Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared"
    Server API Apache 2.0 Handler
    Virtual Directory Support enabled
    Configuration File (php.ini) Path C:\WINDOWS\php.ini
    PHP API 20041225
    PHP Extension 20050922
    Zend Extension 220051025
    Debug Build no
    Thread Safety enabled
    Zend Memory Manager enabled
    IPv6 Support enabled
    Registered PHP Streams php, file, http, ftp, compress.zlib
    Registered Stream Socket Transports tcp, udp
    Registered Stream Filters convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, zlib.*Hello:

    Using 4.5.0h and my scheduler Last Run date always shows 01/01/2006 and the log entries show the same. This is on a Win2003 machine and I'm running the cron job once a minute via a Windows task. I have verified that the job is running correctly because my incoming messages are getted polled continually and placed in the sugar inboxes each minute. I have tried deleting all schedules and rebuilding the defaults. All four default schedules do the same thing. Have rebuilt all file relationships and run just about everything on the "repair" menu that seemed relevant.

    I could have sworn this used to work but I could be wrong. It is possible that it quit working after I ran the Daylight Savings Time fix since it was after I ran it that I happened to notice the date issue.


    Schedulers
    Schedulers: Poll Email Inboxes

    Job function pollMonitoredInboxes Status Active
    Date & Time Start 01/01/2006 00:00 Active From Always
    Date & Time End perpetual Active To Always
    Last Successful Run 01/01/2000 00:00 Interval As often as possible.
    Execute If Missed Never
    Date Created: 12/29/2006 05:19 by mike Last Modified: 12/29/2006 14:54 by mike


    ShowHide Job Log

    Start Start Previous Previous (1 - 10 of 575) Next Next End End
    Execute Time Status
    01/01/2000 00:00 Completed
    01/01/2000 00:00 Completed
    01/01/2000 00:00 Completed
    01/01/2000 00:00 Completed
    01/01/2000 00:00 Completed
    01/01/2000 00:00 Completed
    01/01/2000 00:00 Completed
    01/01/2000 00:00 Completed
    01/01/2000 00:00 Completed
    01/01/2000 00:00 Completed
    *

    Following is a log entry showing the problem...
    12/29/06 03:51:00,659 [2660] FATAL SugarCRM - -----> Scheduler got a bad execute time: [ 2000-01-01 06:00:00 GMT-0 ]
    12/29/06 03:52:00,752 [2856] FATAL SugarCRM - -----> Scheduler got a bad execute time: [ 2000-01-01 06:00:00 GMT-0 ]
    12/29/06 03:53:00,628 [3536] FATAL SugarCRM - -----> Scheduler got a bad execute time: [ 2000-01-01 06:00:00 GMT-0 ]
    12/29/06 03:54:00,610 [1120] FATAL SugarCRM - -----> Scheduler got a bad execute time: [ 2000-01-01 06:00:00 GMT-0 ]
    12/29/06 03:55:00,720 [892] FATAL SugarCRM - -----> Scheduler got a bad execute time: [ 2000-01-01 06:00:00 GMT-0 ]
    12/29/06 03:55:31,380 [360] FATAL SugarCRM - Error fetching relationship from cache schedulers_created_by
    12/29/06 03:55:31,382 [360] FATAL SugarCRM - Error fetching relationship from cache schedulers_modified_user_id
    12/29/06 05:18:54,500 [360] FATAL SugarCRM - Error fetching relationship from cache schedulers_created_by
    12/29/06 05:18:54,502 [360] FATAL SugarCRM - Error fetching relationship from cache schedulers_modified_user_id
    Last edited by mmakowski; 2006-12-31 at 02:06 AM.

  2. #2
    mmakowski is offline Member
    Join Date
    Dec 2006
    Posts
    5

    Default Re: Scheduler Dates Incorrect

    Anyone have any ideas on this? It's driving me crazy that I can't determine the cause.

  3. #3
    mmakowski is offline Member
    Join Date
    Dec 2006
    Posts
    5

    Default Re: Scheduler Dates Incorrect

    I just figured this one out. If the default date format on the Locale setup screen is 12-31-2006 the scheduler last run date and logs always report 01-01-200l. If I set it back to 2006-12-31 on the Locale screen then the schedulers start working and recording the proper date and time.

    Mike

  4. #4
    andydreisch's Avatar
    andydreisch is offline Sugar Team Member
    Join Date
    Apr 2005
    Location
    San Jose
    Posts
    2,080

    Default Re: Scheduler Dates Incorrect

    Superb detective work, mmakowski.

    Can you please be sure to report a bug for this in bugs.sugarcrm.com?

    Thanks,

    Andy
    Andy Dreisch
    Vice President, Online Team


    Check out our Podcasts!
    Sugar University for training
    Sugar Wiki for developer and user help
    SugarForge for modules, themes, lang packs
    SugarExchange for production-ready extensions
    Enter/view bugs via the Sugar bug tracker

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 7
    Last Post: 2009-02-03, 08:42 AM
  2. Inbox poller scheduler stops running
    By trueblade in forum Help
    Replies: 4
    Last Post: 2006-05-21, 11:47 PM
  3. Inbound Email Scheduler Bug ?
    By kokwei in forum Help
    Replies: 8
    Last Post: 2006-05-15, 06:06 PM
  4. Project Task Dates Bugs Fix
    By tkundhi in forum Developer Help
    Replies: 5
    Last Post: 2006-01-04, 10:41 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
  •