Running the bot unattended with nohup/screen?
I realise the answer to this is probably just: go try it...
But I have a *nix server I'd be tempted to leave the bot running on so that my laptop isn't stuck running it.
Will the bot tolerate being called with nohup and having the output redirected? Or will it simply stop running if the session its closed?
I use the bot within a named screen session on my home server and all works fine. You'll have to use screen's copy mode to scroll through the history, but that's the only issue I've experienced.
I used it with nohup for a while, but I now use screen instead. Here's the code from my script. Not great but it works and with a low overhead.
#!/bin/sh
while true; do
nohup python pokecli.py --config config.json > $!.txt > test.out
done &
Works perfectly fine with tmux for me.
I use byobu works perfectly
Yeah nohup worked fine. I think screen is probably the better bet for being able to hop in and out of it.