NetXMS Support Forum

English Support => General Support => Topic started by: multix on August 06, 2015, 11:40:10 AM

Title: Execute command on server / execute action in NXSL
Post by: multix on August 06, 2015, 11:40:10 AM
Hi.

Can I use execute a command on server or execute action in NXSL ?
Title: Re: Execute command on server / execute action in NXSL
Post by: Victor Kirhenshtein on August 06, 2015, 02:32:08 PM
Hi,

no it's not possible. However, you can generate new event from NXSL using PostEvent function, and execute action on this event as usual.

Best regards,
Victor
Title: Re: Execute command on server / execute action in NXSL
Post by: multix on August 06, 2015, 10:34:35 PM
Good solution  :).  While we have this option, we don't need to execute a command on server or execute action in NXSL.

Thank you.