How to get tracking by date on pmg-log-tracker

diegola

New Member
Nov 14, 2019
6
0
1
37
Sometimes I use the pmg-log-tracker CLI tool to track mails, but when I want to do it using date format as help show:
-s START start time (YYYY-MM-DD HH:MM:SS)
-e END end time (YYYY-MM-DD HH:MM:SS)

I get an error, saying that it is unable to parse start time, like this:
#~ pmg-log-tracker -v -l 2000 -s 2020-07-27 00:00:00 -e 2020-07-27 23:00:00 -n -g -t some-user-mail unable to parse start time

the only way I can use pmg-log-tracker to track mails, is using epoch time format
 
Hey,

you need to wrap that into quotation marks as there is a blank between date and time, e.g.
Bash:
pmg-log-tracker -v -l 2000 -s '2020-07-27 00:00:00' -e '2020-07-27 23:00:00' -n -g -t some-user-mail


Greetz
 
  • Like
Reactions: Stoiko Ivanov