I'm trying to come up with a shutdown script to copy the log file over to another location in the filesystem of my HomeTroller Zee S2 before it gets deleted.
I thought something like this would do the trick, but it doesn't seem to be working:
CreateObject("Scripting.FileSystemObject").FileCopy("\tmp\Ho meSeerLog.hsd","\home\homeseer\Documents\HomeSeerLog.hsd")
BTW, I'm a noob here, so let me know if you have any tips and tricks for debugging or writing scripts in general. I'm on HS4. Thanks in advance!
I thought something like this would do the trick, but it doesn't seem to be working:
CreateObject("Scripting.FileSystemObject").FileCopy("\tmp\Ho meSeerLog.hsd","\home\homeseer\Documents\HomeSeerLog.hsd")
BTW, I'm a noob here, so let me know if you have any tips and tricks for debugging or writing scripts in general. I'm on HS4. Thanks in advance!
Comment