This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

memory size for files created by script
#8
If each string is 20 bytes long then your whole log will be at least 60MB in size. Most probably you won't be able to send that using e-mail.
As for writing into files you should not write to SD card often as it can quickly kill it. One solution is to write to a temporary file then move it to SD by the end of the day by using a scheduled script. There's a slight disadvantage that this file can be lost if the device is rebooted. You should also take care of deleting old log files.
Reply


Messages In This Thread
RE: memory size for files created by script - by admin - 02.04.2020, 11:44

Forum Jump: