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


New Member
Nov 14, 2019
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

you need to wrap that into quotation marks as there is a blank between date and time, e.g.
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

  • Like
Reactions: Stoiko Ivanov


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!