• 09-11-2010, 17:29:54
    #1
    Merhaba arkadaşlar, Cpanel kullanıyorum. Zamanlanmış görevlere aşağıdaki gibi php url sini ekliyorum

    php -q /home/kullaniciadi/public_html/siteminismi.com/cron/index.php?action=post

    fakat çalışmıyor. Index.php den sonra ?action=post geldiği için kabul etmiyor sanırım.

    önerisi olan varmıdır?
  • 09-11-2010, 17:47:38
    #2
    Üyeliği durduruldu
    o zaman soyle yapalm o hocam
    bir tane calistir.php yapalim icine sadece

    <iframe src="site.com/index.php?action=post"></iframe>

    eger bu işe yaramazsa

    calistir.php icine

    <?php
    file_get_contents('www.site.com/index.php?action=post');
    ?>

    php -q /home/kullaniciadi/public_html/siteminismi.com/cron/calistir.php diyelim

    mantıken olması gerek.
  • 09-11-2010, 18:09:14
    #3
    php /home/kullaniciadi/public_html/siteminismi.com/cron/index.php action=post
    bu şekilde çalışabilir.Bende çalışmıştı
  • 09-11-2010, 18:16:04
    #4
    PHPci adlı üyeden alıntı: mesajı görüntüle
    <?php
    file_get_contents('www.site.com/index.php?action=post');
    ?>
    evet bu yolla hallettim, çok teşekkür ederim. çalıştı
  • 10-11-2010, 09:16:35
    #5
    Üyeliği durduruldu
    php yerine wget ile cagirin. normal sayfa talep etmis gibi olursunuz

    wget -O /dev/null http://www.domain.com/index.php?action=post