Write a cron script that periodically probes all the sites in the database. First, probe the main site URL and then probe a document hosted on the site.
If both come back failed, then mark the site as offline, e.g. live='N'
If both come back success, then mark the site as online, e.g. live='Y'
Write a cron script that periodically probes all the sites in the database. First, probe the main site URL and then probe a document hosted on the site.
If both come back failed, then mark the site as offline, e.g.
live='N'
If both come back success, then mark the site as online, e.g.
live='Y'