4.9 Question- Scheduled Reports

(34 posts) (3 voices)
  1. ziuras, Member

    I think about locale.
    I change locale to en_US.utf8
    now system spoke in english :)
    but scheduled report is skiping

    root@report:/var/tmp# wget --no-check-certificate -t 1 https://report.kmv.local/scheduler.php?debug=1 -O scheduler_debug.txt
    --2017-06-20 15:07:32-- https://report.kmv.local/scheduler.php?debug=1
    Resolving report.kmv.local (report.kmv.local)... 10.18.156.251
    Connecting to report.kmv.local (report.kmv.local)|10.18.156.251|:443... connected.
    WARNING: cannot verify report.kmv.local's certificate, issued by ‘/C=LT/ST=Lithuania/L=Kaunas/O=Celsis/OU=IT/CN=report.kmv.local/emailAddress=log@aa.cc’:
    Self-signed certificate encountered.
    HTTP request sent, awaiting response... 200 OK
    Length: 364 [text/html]
    Saving to: ‘scheduler_debug.txt’

    100%[====================================================================================================================================================================================================>] 364 --.-K/s in 0s

    2017-06-20 15:07:32 (29.4 MB/s) - ‘scheduler_debug.txt’ saved [364/364]

    root@report:/var/tmp#

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    root@report:/var/tmp# cat ./scheduler_debug.txt
    2017-06-20 15:07:32: Scheduler start. Tasks defined: 1. cURL options: CURLOPT_SSL_VERIFYPEER, CURLOPT_SSL_VERIFYHOST
    2017-06-20 15:07:32: Task:1 https://report.kmv.local/report.php?r=136&m=29&h=00837ba87fd905c3bb97dbdc67840965702ac967. Last run Jun 20 2017 02:58:44:643PM > last scheduled run 2017-06-20 15:05:00. Skipping.
    2017-06-20 15:07:32: Scheduler complete
    root@report:/var/tmp#

  2. ziuras, Member

    root@report:/etc/freetds# cat /etc/freetds/locales.conf
    [default]
    date format %Y-%m-%d %H:%M:%S
    root@report:/etc/freetds#

  3. myDBR Team, Key Master

    You are missing '=' character in the locales.conf

    [default] date format = %Y-%m-%d %H:%M:%S

    --
    myDBR Team

  4. ziuras, Member

    thanks
    its work now
    :)


Reply

You must log in to post.