Yngvarr

Generation

generate functionMon, 06 Mar 2023

каждые пол часа

function do_every_half_hour() { $time = time(); $minutes = date("i", $time); $minutes_to_wait = (30 - $minutes % 30) * 60; sleep($minutes_to_wait); do_every_half_hour(); }

Questions about programming?Chat with your personal AI assistant