Telegram bot works only 15 min
Hi.
I have a problem. I have made a telegram bot on Node.js. When i start web application Nodejs it runs only about 15 minutes, and then stops. On localhost my telegram bot runs permanently, but on "cPanel - Node web application" only 15 minute. Why? What i must to do to run it permanently via cPanel?
-
Have you got root/WHM access to the server or just standard cPanel user access (via port 2083?) If you are a "standard user", it'll be worth contacting your webhost for assistance as my "gut feeling" is that they are probably running the CSF/LFD firewall system and have set the user process tracking ( PT_USERTIME ) to 900 and enabled PT_USERKILL : so that any user scripts running longer than 900 seconds (15 minutes) are automatically terminated for server security/safety. Have you checked your home folder in nodejsapp/logs (aka /home/user/nodejsapp/logs/ ) to see if there is anything? (from 0 -
@rbairwell - I like those ideas! @Waterman - let us know what you find! 0
Please sign in to leave a comment.
Comments
2 comments