Dayfile.txt: Difference between revisions

39 bytes added ,  07:59, 19 June 2020
m
Line 221: Line 221:
=== Editing externally ===
=== Editing externally ===


See earlier section on this page for the rules and later section for advice on dealing with rogue values. Remember if you edit this file externally, and it adds any missing fields these must have a space inserted for every extra field in every such line!
See earlier section on this page for the rules and later section for advice on dealing with rogue values. Remember if you edit this file externally, either do not add any missing fields, or if you do then these must remain empty for every extra field in every line that was originally shorter!


MX does not have the capability to recalculate, the values and time-stamp for any entry in dayfile.txt,  by reading the [[Monthly log files|detailed log file]] to extract all values relevant to that day and do the necessary minimum/maximum/total/average calculation.  It can be done in a script if you are a programmer. I have done this, but it was not as easy as I thought, the log file you read from may have duplicate times potentially making the calculation harder, and you cannot edit the file as you go along, you basically rename the old file and create a new file with original name as you work through all days changing individual fields whenever you need to.
MX does not have the capability to recalculate, the values and time-stamp for any entry in dayfile.txt,  by reading the [[Monthly log files|detailed log file]] to extract all values relevant to that day and do the necessary minimum/maximum/total/average calculation.  It can be done in a script if you are a programmer. I have done this, but it was not as easy as I thought, the log file you read from may have duplicate times potentially making the calculation harder, and you cannot edit the file as you go along, you basically rename the old file and create a new file with original name as you work through all days changing individual fields whenever you need to.
5,838

edits