Page 1 of 1

No response when adding script task to queue

Posted: 15 Nov 2021 11:35
by Kenbol
Start the test,it's all done,no response occurs after running multiple times,then there is no response for each run,restart the computer and open new XY package,still the same.

Re: No response when adding script task to queue

Posted: 15 Nov 2021 12:00
by highend
Add a wait 1; after each copyto statement...

And the whole "problem" could have been shown without uploading a 178kb large "script"...

Code: Select all

    // Edit this (no trailing backslash)
    $src = "R:";

    $file = "$src\1.txt";
    if (exists($file) != 1) { new($file); }

    // Set this to 3500 if you dare^^
    while ($i++ < 500) {
        copyto "$src\Test\1000000000" . format($i, "0000"), $file, , 2;
        wait 1;
    }

Re: No response when adding script task to queue

Posted: 15 Nov 2021 12:43
by Kenbol
Thanks for the reply,I was just about to ask if there was a timeout 1...