Bot version: 126.96.36.199
OS: Linux/Ubuntu (Raspberry Pi 3)
I’m not very handy with Ubuntu because I’ve only started playing with it when I got my Pi. I notice every now and then that my bot shuts down every now and again (Not sure why). I always presume it’s because it’s been running for too long, and ran out of memory or something. Typically I just unplug the pi and plug it back in, and this does the trick.
I was wondering if there was a command I could use or something I could add in a system file to make the bot restart itself, every night, at 2am (during off-hours) for example. That way, I could avoid any potential errors when I need my bot.