<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Scheduling node restarts via script or right clicking on the node?]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">We have a lot of Windows nodes that we manage. We have a custom DCI that shows when the servers a waiting for a reboot. Ideally we'd like to be able to right click on the server and add a scheduled task to reboot the servers. However I can't find any functions in nxsl and I don't think it's possible to write a script for nxshell to run the at command. So I'm wondering if I've missed something in the documentation that would allow us to do this?</p>
<p dir="auto">We have a library script that reboots a node and we can call this from the scheduled tasks. This works fine but adding a lot of nodes manually takes a lot of time and inevitably ends up with the odd typo.</p>
<p dir="auto">Kind regards</p>
<p dir="auto">Spot</p>
]]></description><link>https://forum.netxms.org/topic/7111/scheduling-node-restarts-via-script-or-right-clicking-on-the-node</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 16:55:37 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/7111.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 23 Jul 2021 12:49:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Scheduling node restarts via script or right clicking on the node? on Thu, 05 Aug 2021 11:08:24 GMT]]></title><description><![CDATA[<p dir="auto">Another option is to generate special event from NXSL script, and in event processing policy execute restart action for that event.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/30321</link><guid isPermaLink="true">https://forum.netxms.org/post/30321</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 05 Aug 2021 11:08:24 GMT</pubDate></item><item><title><![CDATA[Reply to Scheduling node restarts via script or right clicking on the node? on Mon, 26 Jul 2021 07:20:54 GMT]]></title><description><![CDATA[<p dir="auto">Scheduling tasks is currently not possible from NXSL. But should be possible using nxshell, because nxshell allows to do anything what desktop client can. </p>
<p dir="auto">So the sequence can be<br />
Object tool that runs NXSL script<br />
NXSL script creates an event<br />
EPP has rule for that event, that runs "execute command on management server" action<br />
the action runs nxshell command</p>
<p dir="auto">I can prepare the actual nxshell script example a bit later.</p>
]]></description><link>https://forum.netxms.org/post/30270</link><guid isPermaLink="true">https://forum.netxms.org/post/30270</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Mon, 26 Jul 2021 07:20:54 GMT</pubDate></item></channel></rss>