Ad Widget

Collapse

Remote command Script schedule

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • markfree
    Senior Member
    • Apr 2019
    • 868

    #1

    Remote command Script schedule

    Hi guys.
    I'm looking to execute some commands on a few servers using Zabbix and tried creating a script to do so.

    Under Administration - Scripts, I created a simple script to restart a service:
    Code:
    net stop "service name"
    net start "service name"
    I wanted to schedule this script to run every day at 6AM but its not working.

    I tried creating an item on a host with a schedule using key "system.run", but I'm not sure how to call the previews script.

    Would anyone help me please?
    Thank you.
Working...