Automatic Restart on Mac?
I know this isn't really an issue but is there any way to make bots restart automatically after crash?
use daemon ...
@drees5 yes, if a bot crashes you can automatically restart it using a simple bash script which was mentioned by @MeGaPk . All you need to do is put a bash script file in PokemonGo-Bot folder and run it.
#!/bin/bash
while true
do
./pokecli.py
echo ">pokecli exited... restarting...";
sleep 5;
done
Now save save this file asstart.sh and put it in PokemonGo-Bot .
Now do chmod u+x start.sh in terminal. Start the bot using this all the time./start.sh
Duplicate of #948
https://github.com/PokemonGoF/PokemonGo-Bot/wiki/Restarting-bot(s)
@leovarmak how is the script behavior with multiple tabs in terminal started all with -cf and different config settings?
many times the bot just freeze until I press cmd+c and start it again, is it possible to restart bot every hour automatically?
@Philipp59 are you talking about Dev ?