http checker
EDIT: Source Removed!
EDIT: The script is supposed to check if http is running(Requires Cron, Not important here though), if it isnt running, a counter is created on the file offline.txt. If the counter hits 5 it emails the user. If the number is bigger than 5, offline.txt auto resets.
EDIT: The script posted above is correct! It works fine
EDIT: Source Removed!
EDIT: The script is supposed to check if http is running(Requires Cron, Not important here though), if it isnt running, a counter is created on the file offline.txt. If the counter hits 5 it emails the user. If the number is bigger than 5, offline.txt auto resets.
EDIT: The script posted above is correct! It works fine
Last edited: