Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

emailtrack_stats start time parameter not working

Discussion in 'cPanel Developers' started by Haym, Dec 27, 2017.

Tags:
  1. Haym

    Haym Active Member

    Joined:
    May 12, 2017
    Messages:
    39
    Likes Received:
    5
    Trophy Points:
    8
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    Hi,

    I'm having an issue with the emailtrack_stats starttime parameter.

    Basically, it doesn't appear to be working. For example:

    Start time 24 hours and a few minutes ago, end time a few minutes ago

    Code:
    $ whmapi1 emailtrack_stats starttime=1514326726 endtime=1514413126
    ---
    data:
      records:
        -
          DEFERCOUNT: 2000
          DEFERFAILCOUNT: 24502
          FAILCOUNT: 22502
          INPROGRESSCOUNT: 0
          SENDCOUNT: 40097
          SUCCESSCOUNT: 20768
          TOTALSIZE: '2566219219'
    metadata:
      __chunked: 1
      command: emailtrack_stats
      overflowed: 0
      reason: OK
      result: 1
      version: 1
    Start time 24 hours and a few minutes ago, no end time (defaults to now)

    Code:
    $ whmapi1 emailtrack_stats starttime="1514326726" 
    --- 
    data: 
      records: 
        - 
          DEFERCOUNT: 2000
          DEFERFAILCOUNT: 24513
          FAILCOUNT: 22513
          INPROGRESSCOUNT: 0
          SENDCOUNT: 40108
          SUCCESSCOUNT: 20768
          TOTALSIZE: '2566219219'
    metadata: 
      __chunked: 1
      command: emailtrack_stats
      overflowed: 0
      reason: OK
      result: 1
      version: 1
    No start time (defaults to 0), no end time (defaults to now)

    Code:
    $ whmapi1 emailtrack_stats
    --- 
    data: 
      records: 
        - 
          DEFERCOUNT: 2000
          DEFERFAILCOUNT: 24513
          FAILCOUNT: 22513
          INPROGRESSCOUNT: 0
          SENDCOUNT: 40108
          SUCCESSCOUNT: 20768
          TOTALSIZE: '2566219219'
    metadata: 
      __chunked: 1
      command: emailtrack_stats
      overflowed: 0
      reason: OK
      result: 1
      version: 1
    The start time doesn't limit the results, in all cases the results include every record in the sqlite database.

    Any ideas?
    Thanks
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,725
    Likes Received:
    1,796
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you open a support ticket using the link in my signature so we can take a closer look at this?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice