Archive

Posts Tagged ‘restart’

Mysql Monitor Script That Can Restart Mysql Server

November 20th, 2011 Comments off

Problem: my mysql server crashes once a week due to agressive bots (google, baidu…)

I would like to run a little cron job evey minute to check mysql status that can bring mysql server back alive after a crash.

Something a la:

mysqladmin ping
if [ $? -ne 0 ]
then
/etc/init.d/mysqld start
else
echo “All is well”
fi

Could do the job, the only problem is that I can’t get the mysql up again with ‘start’ or ‘restart’ service. I need to reboot the whole server before mysql server r…

Iphone App: Zombie Defence 101 (game)

August 27th, 2011 Comments off

All the words/features are made by Me And Me Only… (Guillermo Santiago Abreu)

Zombie defence 101:

Intro:
Welcome to zombie defence 101. You are here because crisis has struct out on Florida, Eventually the whole world…. The Goverment set up this team called “DemoGuards” To Protect civilians and to go do special missions, guess what you are one. Your mission is to reach the zombie destroyer 2000, and restart it up before it becomes a zombie crisis! Heres a Magnum, Just in case you need to blast some zombies. Jason will guide you to training.

“Welcome Im Jason, I will be your Zombie Defence 101, Coach And Instructor…
Today we will test your skills with your pistol. Please shoot those 3 zombies.”

*** If Dies —> Restart Game ***
*** If Kills –>
“Okay now were going to test your survival skills, Try to kill 20 of those zombies!”***

If Dies or Kills —> “Okay, I think your ready for your mission, Just press the pause,
For a special Menu!”

Menus:

Main Menu:

New Game—> “Are you sure you would like to start a New Game, Yes Or No?”
Continue —> Continue Game.
Visit Webiste —> Redirects to website.

Pause Menu:

Resume —> Resume Game
Save Game –> You will be overwriting your current game Continue? Yes… Cancel
Quit Game—> You will be quitting your game without saving. Continue? Yes Cancel
Objectives —-> Shows Objectives
Map —> MAP
Armory—> You will be going back to the armory, which will restart this level. Continue?

Weapons/Armor/Health:

Magnum —> Desert Eagle $800 —> Dual Desert Eagles $1000
Shotgun $700 —> Spaz 12 $1500—-> Golden Spaz 12 $2100
Grenades (x8) $500 —> RPG $2000
Mp5k $1400—> Mini Uzi $1800—> Ump 45 $2000
Ak47 $1600—> M4A1 $1800—> M60 $2500

Health Pack—> Price Depends on Needed hp.

____________________________________________________________________
Thats Just the basics of the game…

I will be offering to give $17, + 30% of Profit Of Sales.

Please contact me

Thank You,

Guillermo Abreu.

Macros File – Restart Wireless

September 25th, 2009 Comments off

We are looking for an individual(s) who can program a simple macros
file that will perform all of the following stated tasks:

1) Allow integration with a specific CL auto posting program.
2) Change address of the computer’s internet connection at customizable intervals of time.
3) How often it changes will be customizable via the auto posting program.
4) This .macro file MUST change the ip address through a broadband wireless card.
5) All three components must work flawlessly together (the .macro file,the auto-poster, and the wireless card.

Happy Bidding.

Remote Application Restart

July 10th, 2009 Comments off

We have an unstable application without monitoring that must be locally restarted every time it freezes.
We need a script that will remotely restart the application (stop it, verify it was correctly stopped and then started).
The script will be triggered from a simple web interface, with a login page and then a restart button.

Auto-restart Web Server

June 30th, 2009 Comments off

I need someone to implement a simple script that will restart my Linux VPS (with Plesk, Virtuozzo) web server automatically if there has been no activity in the access log for a period of 10 minutes.

The link below might help to write the script.

http://www.squarebits.com/?p=18

Iis Restart Vbs Script

May 17th, 2009 Comments off

I need a VBS Script which will restart my iis and all websites on it if its find no response from given domain.

Bear