Yanlış anlamadıysam bu kod işe yaramalı.
<?php
$url = 'https://siteadi.com/bot.php';
// Çalışma süresi sanye olarak
$calisma_suresi = 120;
sleep($calisma_suresi);
$response = file_get_contents($url);
if ($response !== false) {
echo "URL başarıyla açıldı ve işlendi.";
} else {
echo "URL açılırken bir hata oluştu.";
}
?>