NetXMS Support Forum

English Support => General Support => Topic started by: gmonk63 on May 28, 2026, 08:59:19 PM

Title: Scheduled Tasks
Post by: gmonk63 on May 28, 2026, 08:59:19 PM
There seems to be new task schedule options but not documentation on how to use them. I am curious about Execute.Action and if this allows us to run any existing actions we may have defined.


Thanks
Title: Re: Scheduled Tasks
Post by: Filipp Sudanov on May 29, 2026, 11:27:49 AM
This is internal mechanism used for delayed action execution from a EPP rule. You can configure action in EPP with a delay, e.g. in Maintenance Start rule and you'll see what params this scheduled task gets. Nothing strictly forbids from scheduling your own action executions, but since this is internal mechanism, params or anything may change in the future.
Minimal set of params looks like this:
action=1;event=51385
so you need to know ID of action (it's not visible in the GUI) and you need to specify some event.

More recommended way is to use Execute.Script, in this case param field is just script name from script library (and script parameters in bracket if these are needed).
Title: Re: Scheduled Tasks
Post by: gmonk63 on May 30, 2026, 05:14:22 AM
Filipp,

Thank you for the clarification I appreciate it. I will look into using Execute.Script