When I hoover over the Blocklist tab on the web interface it says last update 20:20 ago which is 3.13pm last Wednesday. If I check the modified date on the file /etc/pihole/gravity.list it says 3.13pm last Wednesday as well.
Though if I check the last modified date of /var/log/pihole_updateGravity.log it says 4.01am last Wednesday. Which should be the correct time (cron runs at 4am).
I'm a bit confused now. Why does the hoover say something different?
When does my Gravity update run now exactly?
Your gravity update begins at the time specified in the cron. The one installed by Pi-Hole is randomly selected between 3 am and 5 am your local time, and is randomly different for all Pi-Holes to equalize server loads.
Your system log for that day (located in /var/log) will show which cron scripts ran when. On my system the following appears in the Sunday log:
If you did a manual rebuild, or a repair, or an update then, this would be the correct time. This would not be written to the updateGravity log. The time shown is when the gravity list was changed.
Make sure you reload the page to get the updated information.
I know the standard cron is random. I just changed it to 4am (instead of the random 4.23am) it was before.
I did for sure reload/refresh the page multiple times.
To make it even more strange it now says: last updated 01.57 ago
I did not do a manual update...
The time shown on the web interface is the last modification date of /etc/pihole/gravity.list, as you found out. If that time changes, then so will the time shown on the web interface.