create variable like flow name

Post your questions and help other users.

Moderator: Martin

Post Reply
etaon
Posts: 14
Joined: 11 Nov 2013 21:11

create variable like flow name

Post by etaon » 05 Feb 2015 09:30

How create variable like {flow_name}?
I want create flows to ping many IP adress.
recieve sms with ip to create new flow with new ip.
Or better use file with many strings ip adresses?
In sms with ip write to end of file string.
Flow get from file strings and ping all.
If status changed of one ip(variable not = new status), write log hostping.txt.
write in variable or file "ip, status, time" and send sms to adresses from file 1-5 phone numbers.
Phone numb can change with sms command

etaon
Posts: 14
Joined: 11 Nov 2013 21:11

Re: create variable like flow name

Post by etaon » 05 Feb 2015 09:37

Now created two flows.
First control wifi and start flows
Second and next like 192.168.100.1 ping adress like flow name and write log and variable..

Next i continue programming

User avatar
Bushmills
Posts: 286
Joined: 23 Sep 2014 21:56

Re: create variable like flow name

Post by Bushmills » 05 Feb 2015 10:11

consider to use a list instead of a variable. Those are better suited than variables for storing multiple items, and accessing items randomly or sequentially.

Post Reply