Jump to content

RMS Task Manager: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 45: Line 45:
****'''Stop task group on failure''' - if the box is unchecked, next task will be executed even if the current one fails
****'''Stop task group on failure''' - if the box is unchecked, next task will be executed even if the current one fails
*'''Add additional task +''' - used to add another task to this specific task group
*'''Add additional task +''' - used to add another task to this specific task group
==Executing tasks==
 
==Executing Task Groups==
Once task groups are created, they will appear inside Task Manager configuration window like so:
Once task groups are created, they will appear inside Task Manager configuration window like so:


Line 59: Line 60:


Once the task group finishes executing tasks, a status message will be shown whether the task group finished with all tasks completed.
Once the task group finishes executing tasks, a status message will be shown whether the task group finished with all tasks completed.
==Editing Task Groups==
Task groups can be edited by clicking '''"Edit group tasks"''' button, which is located in the Task manager configuration menu Actions column:
[[File:RMS manual Task manager deleting tasks v1.png]]
==Deleting Task Groups ==
Task groups can be deleted by clicking '''"Remove group"''' button, which is located in the Task manager configuration menu Actions column:
[[File:RMS manual Task manager removing tasks v1.png]]


==Configuration Examples==
==Configuration Examples==


===Setting Mobile Data Limit===
=== Setting Mobile Data Limit ===
----
----
In this example, we will set mobile data limit on SIM1 interface. We will achieve this by creating new Task group in RMS Task Manager and using Command as a task type.
In this example, we will set mobile data limit on SIM1 interface. We will achieve this by creating new Task group in RMS Task Manager and using Command as a task type.


*Create a new task group by clicking ''''ADD NEW TASK GROUP'''' button inside Task Manager configuration window.
*Create a new task group by clicking '<nowiki/>'''ADD NEW TASK GROUP'''' button inside Task Manager configuration window.
* Define Task group name, select Command as a task type on the first task and insert the following text into Command field:
*Define Task group name, select Command as a task type on the first task and insert the following text into Command field:
''uci set quota_limit.mob1s1a1.enabled='1'''
''uci set quota_limit.mob1s1a1.enabled='1'''
*Click '<nowiki/>'''ADD ADDITIONAL TASK'''' button at<nowiki/> the bottom of the window to add a second task, make settings identical to the first task and insert the following command into the Command field (this will set the mobile limit to 2GB or 2048MB):
*Click '<nowiki/>'''ADD ADDITIONAL TASK'''' button at<nowiki/> the bottom of the window to add a second task, make settings identical to the first task and insert the following command into the Command field (this will set the mobile limit to 2GB or 2048MB):
Line 81: Line 93:
[[File:RMS manual Task manager configuration example data limit v1.png|border|523x523px]]
[[File:RMS manual Task manager configuration example data limit v1.png|border|523x523px]]


=== Installing Additional Packages===
===Installing Additional Packages===
----
----
In this example, we will install an additional package to the device using opkg commands as well as generate and download a log file to see if package was installed successfully. For this example, we will install DNP3 package.
In this example, we will install an additional package to the device using opkg commands as well as generate and download a log file to see if package was installed successfully. For this example, we will install DNP3 package.
*Create a new task group by clicking '<nowiki/>'''ADD NEW TASK GROUP'''' button inside Task Manager configuration window.
*Create a new task group by clicking '<nowiki/>'''ADD NEW TASK GROUP'''' button inside Task Manager configuration window.
*Define Task group name, select Command as a task type on the first task and insert the following text into Command field:
* Define Task group name, select Command as a task type on the first task and insert the following text into Command field:
''opkg update''
''opkg update''
*Set Timeout to 30 seconds, since updating package repository might take longer than the default 10 seconds.
*Set Timeout to 30 seconds, since updating package repository might take longer than the default 10 seconds.