support-atlantatech

NAS Restart using Script in NAS

Discussion created by support-atlantatech on May 8, 2009
Latest reply on May 13, 2009 by carstein.seeberg
Hi All,

I have managed to cobble together a LUA script that will change the email recpient of a profile based on finding  a date match in a txt file, the only thing I can not seem to do is restart the NAS to allow the profile change to take effect.  I have attached the script if anyone is interested, as I said though cobbled together I have not as yet figured out the coding completely and therefore I have not added any error checking.  Anyway does anyone know how to restart the NAS via a script?  I know the command but when you run it you get a script interrupted error.

Outcomes