NanoSD - Export File Date issues
Posted: Wed Jul 03, 2019 11:28 pm
Any thoughts on the following incorrect naming convention being observed from a NanoSD. I can't duplicate this one on any other Nano or MBPro
Scenario: Export file is created around midnight which is tagged correctly. eg At midnight between July 3 & 4 a export file is created locally on the NanoSD for Yesterday which is correct, file name is Export-20190703.txt, date records in the file are correct 2019-07-03, data is correct etc, logged instance is valid etc all good so far. The local export file is all good regardless of being created at a specific time after midnight or periodical, just "before each new day" (for today) and "after each new day" (for yesterday) no problems
An FTP service is trigger by the above local export using template: lastexport.txt and by rights the file name should be Export-20190703 as the first date record in the local file (lastexport.txt) is 2019-07-03 but the file name is created as Export-20190702 (day before), file contents are correct, for 2019-07-03.
Have not been able to correct this regardless of cleaning out the local export folder, FW update/reboot etc but it is something specific to this one particular NanoSD and appeared to go this way since around the middle of May for what reason I have no idea at the moment. Can't be firmware as I can't duplicate this on any other config. So what is illogical with this incorrect file name.
Edit: To confuse things further if one does a test of the trigger anytime after the local export file is written, the FTP file name comes through perfectly, so the FTP triggered this morning (test) for the export/lastexport written at midnight for yesterday (20190703) comes through as Export-20190703 as it should so where is this Export-20190702 name coming from?
Scenario: Export file is created around midnight which is tagged correctly. eg At midnight between July 3 & 4 a export file is created locally on the NanoSD for Yesterday which is correct, file name is Export-20190703.txt, date records in the file are correct 2019-07-03, data is correct etc, logged instance is valid etc all good so far. The local export file is all good regardless of being created at a specific time after midnight or periodical, just "before each new day" (for today) and "after each new day" (for yesterday) no problems
An FTP service is trigger by the above local export using template: lastexport.txt and by rights the file name should be Export-20190703 as the first date record in the local file (lastexport.txt) is 2019-07-03 but the file name is created as Export-20190702 (day before), file contents are correct, for 2019-07-03.
Have not been able to correct this regardless of cleaning out the local export folder, FW update/reboot etc but it is something specific to this one particular NanoSD and appeared to go this way since around the middle of May for what reason I have no idea at the moment. Can't be firmware as I can't duplicate this on any other config. So what is illogical with this incorrect file name.
Edit: To confuse things further if one does a test of the trigger anytime after the local export file is written, the FTP file name comes through perfectly, so the FTP triggered this morning (test) for the export/lastexport written at midnight for yesterday (20190703) comes through as Export-20190703 as it should so where is this Export-20190702 name coming from?