cob007 19 Posted February 18, 2018 Report Share Posted February 18, 2018 Is there a way to schedule ubot to perform routine tasks:1. Check the growth of youtube likes and dislikes, say every 24 hours or everytime i login to the compiled bot? Quote Link to post Share on other sites
HelloInsomnia 1103 Posted February 19, 2018 Report Share Posted February 19, 2018 You can use the scheduler to run a custom command every 24 hours. Alternatively, you can have a bot auto run every 24 hours by setting up a task in the windows task manager. Pash also has a plugin that would allow you to essentially make your own scheduler using the windows task manager, its called Advanced Systems and you can see the task scheduler commands. If you only need to do this once and don't need your customers to use it then probably just do it manually is easier. Just be sure to call the /auto parameter when you setup the task to autorun your bot. Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted February 20, 2018 Report Share Posted February 20, 2018 The easiest way to do that is to use a wait command and put 86400. 86400 seconds in a day. Put that at the end of your loop. Regards,CD Quote Link to post Share on other sites
ibotubot 3 Posted May 22, 2018 Report Share Posted May 22, 2018 The easiest way to do that is to use a wait command and put 86400. 86400 seconds in a day. Put that at the end of your loop. Regards,CDDoes that actually work for you? I am using the built-in browser and if that sits for a longer period (never checked how long but 1 hour is likely enough), it just won't load any URL at all anymore. HTTP get etc seems to still work just not the built in browser. Quote Link to post Share on other sites
UBotBuddy 331 Posted May 26, 2018 Report Share Posted May 26, 2018 The Wait command is good but you should not use it in that capacity. IMHO. Developing your bot to do that function and then using the /auto command line switch that HelloInsomnia mentioned would be best. Anything else would be overkill for what you are trying to do. Buddy 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.