How to set up Scheduler Task in Nodegrid

How to set up Scheduler Task in Nodegrid

Administrators can execute tasks and scripts on a schedule. These can be maintenance tasks or automation tasks that include end devices. The tasks must be a text file with Nodegrid CLI commands or script file located on the device. The file needs to be accessible and executable by the user.

For an example, cli script file enable_port.cli is in admin folder. Make sure it has executable permission.
You can type command sudo chmod +x enable_port.cli to give executable permission.

Follow these steps to configure Scheduler task through WebUI,

1) Login as admin in WebUI and go to System::Scheduler 
2) Click Add to configure new task
3) Enter Task Name. Keep Task Status to Enabled and add Task Description (optional). 
4) Enter user who runs the script and command to be executed (write script file with full path)




5) Enter Execution Time details as per requirements (Minute, Hour, Day of Month, Month, Day of Week)
6) Click Save 

The script will run depends on the execution time you have set via Scheduler.
You can see the logs for Scheduler or (possible errors if there is any) in Tracking::Scheduler.


    • Related Articles

    • How to Configure Nodegrid Serial Ports

      To configure the serial ports of your Nodegrid Serial Console, follow the guideline steps below.   WebUI Log in as admin to the Nodegrid Serial Console Web interface. Go to Managed Devices page. Select the serial ports you want to configure, or check ...
    • Nodegrid Manager Installation in ESXi 5

      Nodegrid Manager software is installed from an ISO file. The installation procedure is a three-stage process:  Creating a virtual machine; Booting from the ISO file in order to install the software; Restarting and booting from the newly created ...
    • Nodegrid Manager Installation in ESXi 6

      Nodegrid Manager software is installed from an ISO file. The installation procedure is a three-stage process:  Creating a virtual machine; Booting from the ISO file in order to install the software; Restarting and booting from the newly created ...
    • How to build the set-up for Virtual Serial Ports communicating to an end device, via the Nodegrid OS

      Abstract: In the industry, some legacy applications impose to use serial ports (COM) to interface with the industrial automates. In this article, we will study a set-up in which a desktop emulates a virtual serial COM, and conveys the connection via ...
    • Steps to Secure Nodegrid

      The attached document describes the recommended security settings for your Nodegrid before connecting it to the network.