act = true
--бескцыкл
if os.date('%M') == '00' then
if act then
print('test')
act = false
end
end
--Потом надо будет включить
-- можешь сделать еше
act = true
--бескцыкл
if os.date('%M') == '00' and os.date('%S') == '00' then
if act then
print('test')
act = false
end
end
--в этом случае будет код выполнятся точно в любой час:00:00 --%М минуты --%S секунды