ruller Posted January 27, 2021 Posted January 27, 2021 (edited) Hi everyone, I need one library, can you please add it? I'm using Johnny server with Python 3 Library that i need:vk_messages And I also have one question that is not related to the request to add libraries. How can I run my script right after server restart? Otherwise, it is not very convenient to start it again after each server restart. Thanks in advance. Edited January 27, 2021 by ruller
Luigi123 Posted January 27, 2021 Posted January 27, 2021 Krydos will be willing to answer that question for you and he will also going to install that extension too. Escalating
Krydos Posted January 29, 2021 Posted January 29, 2021 vk_messagesThere you go https://krydos2.heliohost.org/cgi-bin/modules37.py How can I run my script right after server restart? Otherwise, it is not very convenient to start it again after each server restart.Your best bet would be to set up a cron that runs every 12 hours and checks if your script is running already, and if not starts it. Server restarts aren't very common though. Some of our servers have gone years without a restart before. Another idea is I could set up an external cron that runs as often as every 5 minutes to check if your script is running already or not. Current days since last restart: Sparkie 221 days Eddie 221 days Katie 221 days Stevie 221 days Tommy 105 days Cody 27 days Johnny 22 days Charlie 18 days Ricky 9 days If you're curious why 221 is the number for a lot of those it's because there was a power outage that took all of our servers offline for a while on 2020-06-21 https://www.helionet.org/index/topic/40232-power-outage/
Recommended Posts