I would like to know how can I schedule a shutdown in my computer after a bot finishes running totally.
I'm running a instagram bot from my own residential network. It is configured in a way that after all the tasks are done it simply stops running.
And I would like my computer to shutdown after the bot stops running in order to save energy. For example, when the bot is done something like 'Session Ended' shows up on terminal. I would like the computer to shutdown after this.
I've seen questions related to this, but they were according to a torrent or something, and the computer would shutdown after the download is completed.
In this case it's simply something that is running in the terminal and I want the computer to shutdown when that task is totally done.