Questions tagged [until-loop]
59 questions
0
votes
3 answers
Until Activity in Azure Data Factory executes even when the condition doesn't match
I have used an until activity to copy files in a sequential order. For this I have created a variable and assigned the value 0 and compared it against the number of files available in the data lake. The expression used in the until activity checks…

Sandeep T
- 421
- 8
- 22
0
votes
2 answers
count and loop in powershell until the end of a csv
I'm new in code so sorry if may question seems dummy
so I loop on csv datas to build an xml
my issue is that i can only pu 5000 files max in an xml and i need to put more than an million?
So i'll to make multiple xml with 5000 files in each
The…

Hadrien Beaujean
- 33
- 5
0
votes
1 answer
Loop with 2 successive same exit code
I poll a string from an app API that matches with true or false to take further actions.
until curl.../connections|awk -v LID=$LinkID '$0~LID,/}/ {if ($0~/connected/) print}'|grep -q 'connected true,'; do
sleep 5
done
if other condition; then exit…

useful
- 147
- 5
0
votes
2 answers
BASH - getting invalid response when using until or while loop
I was able to create the if-elif-then-else code block on a separate script and validated working fine. However when I added the UNTIL or WHILE logic I'm getting the invalid response. I'm NOT expecting to get this response = "invalid operation" if I…

Lagot
- 639
- 1
- 9
- 26
0
votes
3 answers
comparing two variables in c++
learning c++ and I'm sure I'm overlooking something obvious but I'm not sure why I dont get a message that i == j even though after the 3rd iteration the numbers are the same ?
This is the output:
8 is not equal to 12
9 is not equal to…

Alih3d
- 45
- 3
0
votes
1 answer
Logic App Until action, how to set count dynamically?
I have a logic app that is fetching data from an API endpoint. The API is using pagination and has an limit of 50 objects per request and then provides an link for the next 50 objects until it gets all the objects, however I have no idea on how many…

Mattias
- 70
- 1
- 9
0
votes
1 answer
Nested for loop with do until VBA
This is what ia m trying to do: I have the StockOH in column (D) and i want to know how many days of sales i can cover with each amount. So, for example, if the stockOH value in D2 is more than the sum of value E2:E5 but less than Sum(E2:E6), this…

Antonio
- 35
- 3
0
votes
0 answers
Linux shell script on background, loop exit reading keyboard buffer
On one laptop with x-ubuntu 18.04 I have a shell script (.sh) which automates a series of clicks on a webapp (via xdotool). Everything works fine but I need to be able to stop the script at the push of a button (while the focus is on the browser due…

druido82
- 64
- 1
- 8
0
votes
1 answer
The do-until emulation in bash not working
I'm trying to do do-until emulation in bash, but is not working. code is below
# an emulation of the do-until loop
do_stuff() {
echo "Enter password"
read password
if [[ $password != "theflow" ]]
then
echo " Sorry, try again."
fi…

palmheights3
- 1
- 1
0
votes
0 answers
Do until loop - until all the rows are empty
I am not yet familiar with the VBA programming language and so far I can record and understand the macros, but making it myself is still quite difficult.
I am currently working on a print template (worksheetname "Horizontal"). The template must be…

Wouter Groeneweg
- 43
- 1
- 8
0
votes
1 answer
Struggling with an Until Loop combined with Get-Random and a Mouse Click in a PowerShell Form
I am struggling with an until loop in combination with a random picker and a mouse click in a PowerShell Form.
I am able to run a random picker without the form , where I have weekdays, picked by random and one by one day, is being removed, until…

Mike
- 134
- 4
- 12
0
votes
1 answer
Command not being executed when until loop condition is satisfied
So I have an until loop and then I once the conditions of the until loop is satisfied I want the loop to stop and continue down the command line. I submit a handful of jobs using PBS (also written into the script). The .com files are the input and…

Pyrodancer123
- 119
- 7
0
votes
0 answers
UNIX - Until loop condition expects integer from a string?
So, I have some code which is supposed to check whether a pre-check sequence has completed before I begin patching a server. I'm doing this by using an until loop and as the condition, I have a flag set to true. When the flag is set to false that…

vasimmahmood
- 73
- 6
0
votes
1 answer
recursive parsing in json and get the value using ansible
I need to get the value of key in json from ansible play. Here is the issue is - Not sure the key will be in particular level of Json. It may vary from json to json. So, I need to 'serach' for the keys in json blindly and get the values for them…

user3655447
- 157
- 1
- 2
- 11