not really "safe" to bot atm, everyone is gettting banned. You should check the pokefarmer discord. With keeping that in mind I have had some success in running a max of 10 minutes per session, although I mostly use it to farm a nest, get everything that spawns then close the bot. Again your call.