The following command will copy all archived log files to a sub directory on the USB stick and
delete the copied log files from the archive folder optionally. The USB stick should be larger than
200 MB. Sub directories on the USB stick will have following structure: ConBox_<BOX ID>/<Cu
rrentTime>Sample:ConBox_J47110815/20180318T191647
JSON Code:
{
"Commands": [
{
"Cmd":"CopyArchivedLogsToUsbStick",
"DeleteAfterCopy":"false"
}
]
}
To store the file locally, disable the log file upload.
Change system time
For the case that the system time should have been changed so that agent runtime is no longer
able to connect to Insights Hub, you can retrieve the backend time to correct the system time.
The following command provides the possibility to change the system time manually via
ConBox_Commands.json file on the USB stick.
JSON Code:
{
"Commands": [
{
"Cmd": "SetSystemTime",
"NewTime": "2017-09-19T12:34:56"
}
]
}
You have to set to the current UTC (Coordinated Universal Time) time.
Change log file upload configuration
You can activate or deactivate the upload of log files via the file with
the command on a USB stick. This reduces the
ConBox_Commands.json
ChangeLogFileUploadConfiguration
Troubleshooting
7.1 Troubleshooting
MindConnect IoT2040
System Manual 8/202397