@givirus its because of your script logic, maybe you dont call the function? OR you dont have proper error handling which results into certain parts of your script being skipped since they are inside an if statement. I encountered this problem many times in the past, you will need to handle errors and it'll will be most likely fixed, for the purpose of debugging you can use the "Log" function at several points to see where it will print it.
Scheduler: Run bot between 15 and 25 tries from 8am to 6pm randomly
-
Is it possible split a range (e.g. from 15 to 25) of how often a bot should run to a specific timeframe randomly with the built-in or the standalone scheduler (using Premium).
Thanks.
-
@GaG Thank you but unfortunately it's not clear to me how to do that. Do you mean I should compile the ready made script I want to run to an .exe and then call this .exe-file from another (main-)script that includes the random timed loop with BAS?
As far as I know, running one script from another directly is not possible in BAS, right?
-
lol, everything is possible in BAS.
I meant that you put your whole existing script in one function. Than in
main function create a loop with random number of executions that calls
your entire current script, which is one function in this case. You can put
random or fixed waiting time between loop cycles if needed.And yes you can run any exe or bat script from BAS directly Module is called
"Process manager" and there is only one action called "Run process". Just check
it and everything would be more clear for you. -
You saved my day! Thank you very much for your appreciated help :)