gotkseo 0 Posted October 5, 2014 Report Share Posted October 5, 2014 Hi, I created a bot with Ubot studio 4, and was able to auto run it with windows tasks scheduler using "/auto" argument at the end of the target file. My compiled bot opened and then ran itself and closed. I need today tu update this one but it's impossible tu auto run it, the bot opens but does not start. I know that there is a new feature "run scheduler" with ubot studio 5 but I can't use i because I can't let the bot always open. Could you help me ? or give me a way to download Ubot studio 4 please to make me able to update my bot ? Thanks Quote Link to post Share on other sites
HaHaItsJake 25 Posted October 6, 2014 Report Share Posted October 6, 2014 Hi, I created a bot with Ubot studio 4, and was able to auto run it with windows tasks scheduler using "/auto" argument at the end of the target file.My compiled bot opened and then ran itself and closed. I need today tu update this one but it's impossible tu auto run it, the bot opens but does not start.I know that there is a new feature "run scheduler" with ubot studio 5 but I can't use i because I can't let the bot always open. Could you help me ? or give me a way to download Ubot studio 4 please to make me able to update my bot ? Thanks Go to http://support.ubotstudio.com and put a ticket in for the download. Regards, HaHaItsJake Quote Link to post Share on other sites
bigmatt 0 Posted October 9, 2014 Report Share Posted October 9, 2014 Ok, i'll do that too Quote Link to post Share on other sites
linkdropper4 0 Posted October 10, 2014 Report Share Posted October 10, 2014 Just as an FYI to those who want to schedule. I have a bot that I want to run several times a day. When trying to think about how to schedule it (I don't have the scheduler) I just put in a delay, exported to EXE and run it on a virtual machine. Now it runs, waits a few hours, runs, etc. Just use a loop with a lot of repetitions. I think most recently it ran for about a month straight. Quote Link to post Share on other sites
arunner26 51 Posted October 10, 2014 Report Share Posted October 10, 2014 linkdropper4,Thanks, that's a good idea.I wonder if anyone has used the scheduler in version 5 or 5.5 yet. Quote Link to post Share on other sites
Kev 69 Posted October 15, 2014 Report Share Posted October 15, 2014 Rather than using Task Scheduler to start the .exe, have it start a batch file - .bat that contains the path to your exe and then /auto at the end. So for example:"C:\Path to your software" /auto 1 Quote Link to post Share on other sites
Martin C 6 Posted October 17, 2014 Report Share Posted October 17, 2014 Rather than using Task Scheduler to start the .exe, have it start a batch file - .bat that contains the path to your exe and then /auto at the end. So for example:"C:\Path to your software" /auto It is my understanding that UBot 5 no longer supports the /auto facility, you either have to use the in built scheduler, which is suitable for some but definitely not all situations, or if you have the developer edition I think you will be able to use the "on load" command to achieve the same thing. Quote Link to post Share on other sites
Bot-Factory 602 Posted October 17, 2014 Report Share Posted October 17, 2014 There is another way of doing that:It's not my idea. Found that here in the forum a while ago. ui stat monitor("<script type=\"text/javascript\"> window.setTimeout(function() \{ ubot.runScript(\'definesub()\') \}, 500)</script>", "")define definesub { navigate("http://www.google.com/", "Wait") change attribute(<name="q">, "value", "Test") alert("Done!")} CheersDan Quote Link to post Share on other sites
UBotDev 276 Posted October 17, 2014 Report Share Posted October 17, 2014 Here are my few cents...as a temporary solution (I hope /auto get's supported in v5) you can use Command Line Arguments plugin to pass /auto parameter to exe when starting it.... This way code won't start when you open it in UBot and will only start when you pass /auto parameter. Here is the upgraded code: ui stat monitor("<script type=\"text/javascript\"> window.setTimeout(function() \{ ubot.runScript(\'definesub()\') \}, 500) </script>", "") define definesub { if($contains($plugin function("Command Line Arguments.dll", "$command line arguments"), "/auto")) { then { navigate("http://www.google.com/", "Wait") change attribute(<name="q">, "value", "Test") alert("Done!") } else { } } } 1 Quote Link to post Share on other sites
mamica 10 Posted January 12, 2015 Report Share Posted January 12, 2015 Ubot 4 no longer supports /auto. Why in the world would you deprecate that? to force us use buged version v5? i just need to update one of my old bots that were running on autopilot, but it no longer runs with /auto. There is scheduler inside ubot, but let me see if i understand this: i need to start bot and keep it open to run on scheduled time? If that si the case then i suggest u drop this feature because it is useless. Who in the world will have 10 bots open just to wait and run witht hat feature. Also i see i need to click run as scheduled? So i was thinking, ok /auto is no longer here, i can open a bot without /auto, but how the hell will i click run as scheduled button? Please explain how are those bot run on schedule if i need to do something manual? Quote Link to post Share on other sites
Kev 69 Posted January 12, 2015 Report Share Posted January 12, 2015 Use a batch file with the /auto switch in it. Quote Link to post Share on other sites
mamica 10 Posted January 12, 2015 Report Share Posted January 12, 2015 Thanks KEV ur way worked. Simple and easy. I really dont know why they delted /auto from ubotstudio and i lost 1 hour because of this. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.