

1- copy file  "upsD.tar.gz"  in  /home/YOUR_USER/public_html/


2- extract file:
	$ tar xvzf upsD.tar.gz


3- enter in "upsD" directory, edit "config.inc.php" file, and configure...
	- IP device to control  (for example, your router IP)
	- time limit in seconds  (it is the life time of the battery of your powerbank)



4- Run as root:
	# crontab -e

	and append to the end of file:
	*/1 * * * * /usr/bin/php /home/YOUR_USER/public_html/upsD/upsD.php >/dev/null 2>&1



CAUTION: change YOUR_USER for your user.
