A PHP script to automatic get 20 points from hostloc with crontab.
##HOW TO USE##
- You need a vps with PHP envirnoment, PHP5.0 to PHP7.1 are all suitable. It also needs php5-curl
- Download this program to any usable folder, such as /var/www/html/.
Change the USERNAME and PASSWORD to your username and password.
Actually, you can run it by "PHP sign.php", but it is not auto-run. - If you want to auto-run this rogram, crontab should have been installed in your vps.
Set a auto-run rask.
crontab -e
30 21 * * * /usr/bin/php -f /var/www/html/sign.php >> /var/www/html/sign.log
You can use echo to input it.
It means this PHP script will auto-run at 21:30 everyday, and it will write a feedback into sign.log.
The Script is from hostloc http://www.hostloc.com/thread-306269-1-1.html.