Script to check the status code of the sites in the sites.txt file and write a log to the log.txt file
- Put website addresses in the
sites.txt
file - Execute
go run main.go
, select theStart Monitor
option in terminal and let it run for a while - Stop the program, and check the new file
log.txt
, where the log of the monitored sites will be shown (you can see the log via terminal using theShow Logs
command)