Here is what I have so far.
A schedule that runs this:
Code: Select all
interface/lte/monitor 0 once file=cell_mon_ouput.txt
Code: Select all
:local fileContents [/file get cell_mon_output.txt contents]
:if (:find $fileContents = "1234" = -1 ) do={
:log info "Target value not found."
# Add actions for scenario where value is not present (e.g., log a message)
} else={
:system/script/ run cell_lock
}
What Im I doing wrong? Thank you for taking the time to read and consider this!