local computer = require("computer") if computer.uptime() >= 300 then computer.shutdown(true) end