Fungsi Cronjob Tidak jalan

Discussion in 'Masalah Teknik dan Keamanan' started by shara nurul, 25 Apr 2013.

Thread Status:
Not open for further replies.
  1. shara nurul

    shara nurul Apprentice 1.0

    Messages:
    234
    Likes Received:
    1
    Trophy Points:
    18
    Selamat Pagi para Master

    Mohon bantuan dan solusinya kenapa ya command cronjob saya tidak jalan

    php -q /home/username/namafolder/Auto/CJ.php

    Salam
    Shara Nurul
     
  2. kudahitamnet

    kudahitamnet Poster 2.0

    Messages:
    177
    Likes Received:
    65
    Trophy Points:
    28
    Bisa lebih detail lagi mungkin ceritakan kronologisnya barang kali?

    - Pastikan CJ.php sudah diupload ke folder tujuan ya.
    - Permissions nya CJ.php juga pastikan minimal 644.
    - Setting waktunya juga pastikan sudah diset.
     
  3. shara nurul

    shara nurul Apprentice 1.0

    Messages:
    234
    Likes Received:
    1
    Trophy Points:
    18
    sudah kami set semua mas
     
  4. arieonline

    arieonline Expert 1.0

    Messages:
    886
    Likes Received:
    127
    Trophy Points:
    43
    klo di-run di terminal muncul ga?
     
  5. cpserv

    cpserv Expert 1.0

    Messages:
    866
    Likes Received:
    123
    Trophy Points:
    43
    coba jalanin ini dulu :

    Code:
    which php
    nanti keluar lokasinya php, misal /usr/bin/php, ganti cronnya jadi :

    Code:
    /usr/bin/php -q /home/username/namafolder/Auto/CJ.php
     
  6. skatebored

    skatebored New Member

    Messages:
    1
    Likes Received:
    1
    Trophy Points:
    3
    halu...

    pastikan crond sudah berjalan supaya semua penjadwalan berjalan.
     
    mikail4 likes this.
  7. JuraganWebHosting

    JuraganWebHosting Apprentice 1.0

    Messages:
    226
    Likes Received:
    13
    Trophy Points:
    18
    terakhir sempet ngalemin cron enggak jalan karena user nya enggak di spesify.. contoh

    saat edit cron melalu vi /etc/crontab , syntax yang betul itu contohnya--> 01 * * * * root run-parts /etc/cron.hourly nah pastikan root nya di spesify.. semoga membantu..
     
Loading...
Thread Status:
Not open for further replies.

Share This Page

Loading...