Answer the question
In order to leave comments, you need to log in
How to add something like hibernation mode to a bot?
Hello everyone
I am writing my bot, personally for myself. I added a bunch of all sorts of goodies to it, such as finding out the weather, news, movie screenings, etc. But suddenly a question arose. How can I add hibernation mode to it (deep sleep, hibernation, work in the background) And so that it wakes up on a command like "bot init'. I explain why I need this
1) Firstly, I want to add the keylog function, i.e. keylog
2) Secondly, this bot works as a server, so I can connect to it from my phone.There are only a couple of functions in the client.And I would not want the bot to heavily load the entire system with all its functions.3
) My bot listens to my VK, and if a message arrives, he responds with something like “wait 5 minutes.” Again, I would not want the process to constantly hang on the command line.
4) It monitors the consumption of my RAM and if the load is more than 80% it tells me about it.
Thanks to everyone who answers
PS if anyone knows, tell me how to add it to autorun (start when you turn on the PC)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question