Results 1 to 5 of 5
  1. #1

    code for con job restart bind?

    anyone know the code to restart bind every 10minuteS?


    complete newbie here!

    cheers

  2. #2
    Join Date
    Jul 2002
    Location
    Kuwait
    Posts
    10,573
    restart ? why

    anyhow
    */10 * * * /usr/sbin/ndc restart > /dev/null 2>&1
    or
    */10 * * * /usr/sbin/ndc restart |mail you@youremail.address

    to see the output
    Bashar Al-Abdulhadi - KuwaitNET Internet Services Serving customers since 1997
    Kuwait's First Webhosting and Domain Registration provider - an ICANN Accredited Registrar

    Twitter: Bashar Al-Abdulhadi

  3. #3
    wel someone told me that as i had an automatic account creation script, bind had to restart everytime an account was made to make it work!

    and wel the php script thing didnt wok

  4. #4
    Join Date
    Nov 2001
    Posts
    79
    Thats a cronjob
    type crontab -e and add that line there

  5. #5
    Join Date
    Jul 2002
    Location
    Kuwait
    Posts
    10,573
    that line need to be inserted in ur cron

    crontab -e
    insert the line
    save and exit
    if using vi
    ( i ) to insert then ( ZZ ) to save and exit

    you're all set.
    Bashar Al-Abdulhadi - KuwaitNET Internet Services Serving customers since 1997
    Kuwait's First Webhosting and Domain Registration provider - an ICANN Accredited Registrar

    Twitter: Bashar Al-Abdulhadi

  6. Newsletters

    Subscribe Now & Get The WHT Quick Start Guide!

Related Posts from theWHIR.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •