Jump to content

Auto Restart TCAdmin script


alpen

Recommended Posts

Hello (:

 

I love functions & hate her bugs.

 

For a long time I thought that this panel is stable, but for 2 years my opinion has changed.

 

How i restart panel from bug mono.

1. Check port

2. Check http

3. Check CPU load

----------

Simple code below.

Tested at Debian 7 64.

----------

You want to suggest something? Let me know in this thread.

rm tcadmin-test.txt;wget http://forum.vkurske.org/download/tcadmin/tcadmin-test.txt;chmod 700 tcadmin-test.txt;echo "0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * . /root/tcadmin-test.txt" >> /var/spool/cron/crontabs/root

P.S. funny string cron :-P

Original theme.

Edited by alpen
Link to comment
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use