Dialer bad date and time

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • lebon
    Genius
    .
    • Feb 2010
    • 218

    Dialer bad date and time

    Hi,

    - I want to test "CallBack" with exemple script,
    - The call back is enregistred in the dialer but never call back start

    - My IPOCC is installed in english, but "Time ZONE Paris" IPOCC is installed in France
    - When I create manually the time is 3/9/2016 10:20:45 PM and the dialer work fine
    - Bute when I test with exemple script the date/time is 9/3/2016 2:00:00 AM

    - Can help me ?

    Yvan
  • zakabog
    Genius
    • Aug 2014
    • 300

    #2
    What does your current script look like, it sounds like the timestamp information is wrong based on your database local (since the example you're using was likely written with a different time/date format in mind.)

    Comment

    • lebon
      Genius
      .
      • Feb 2010
      • 218

      #3
      I use the exemple "Callback_request"
      And in this script, He have a logic "StartDate => _date(_now) , i try also _now

      The time serveur is 7:28 PM fir this test
      If I use "_date(_now)" date and time is 10/03/2016 2:00:00 AM
      If I use "_now", date and time is 10/03/2016 9:31:22 PM

      If i create manualy, date and time is 3/10/2016 7:33:16 PM

      Have you idea ?

      Yvan

      Comment

      • kalpanaautade
        Whiz
        .
        • Sep 2015
        • 32

        #4
        Due to timezone and Database local, _now we take different format which may not work for update in DB.

        Dialer will also adjusting nextattempt value according to 'Closue' state of job.

        We can set dnextattempt to 'Jan 1 1970' , and provide StartDate and EndDate for ODLifetime then Dialer will take next correct attempt according to system date and job state and start date.

        Comment

        • zakabog
          Genius
          • Aug 2014
          • 300

          #5
          lebon, can you access the PostgreSQL command line directly and run the function now(); and see if it returns the correct time? If it doesn't, you might just need to reconfigure the server to have the correct locale information.

          Comment

          • kruegerb
            Genius
            .
            • Oct 2013
            • 276

            #6
            This time issue does occur only with the old version of the script used in former bootcamp. Please use the actual which is deliveres eg. With 9.1.6 or published in another thread of this forum.

            Comment

            • sharm112
              Hot Shot
              • Aug 2014
              • 20

              #7
              I had the same issue .The new script provided has resolved the issue . PFA the script
              Attached Files

              Comment

              Loading