<?php
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
    $domain = rtrim($_POST['domain'], '/');
    $paths = [
        'autolike.php',
        'orders.php',
        'autoreply.php',
        'dripfeed.php',
        'payments.php',
        'refill.php',
        'seller-sync.php',
        'average.php',
        'otp_cleanup.php',
    ];

    foreach ($paths as $path) {
        echo "wget --spider -O - $domain/automations/cronjobs/$path<br>";
    }

    exit;
}
?>

<form method="post">
    <input type="text" name="domain" placeholder="https://yourdomain.com" required>
    <button type="submit">Generate</button>
</form>