hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Hosting Talk Tutorials : Hosting Security and Technology Tutorials : code for con job restart bind?
Reply

Forum Jump

code for con job restart bind?

Reply Post New Thread In Hosting Security and Technology Tutorials Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old
Newbie
 
Join Date: May 2004
Posts: 29

code for con job restart bind?


anyone know the code to restart bind every 10minuteS?


complete newbie here!

cheers



Sponsored Links
  #2  
Old
Retired Moderator
 
Join Date: Jul 2002
Location: Kuwait
Posts: 10,572
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  
Old
Newbie
 
Join Date: May 2004
Posts: 29
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

Sponsored Links
  #4  
Old
Junior Guru Wannabe
 
Join Date: Nov 2001
Posts: 79
Thats a cronjob
type crontab -e and add that line there

  #5  
Old
Retired Moderator
 
Join Date: Jul 2002
Location: Kuwait
Posts: 10,572
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

Reply

Related posts from TheWhir.com
Title Type Date Posted
Web Host Code Spaces Closes Shop After Hacker Deletes Customer Data Web Hosting News 2014-06-19 16:34:41
Web Hosting Sales and Promos Roundup - May 2, 2014 Web Hosting News 2014-05-23 16:54:17
Free WHD.global Registration with the WHIR Coupon Code Blog 2014-01-30 13:24:20
Web Hosting Sales and Promos Roundup - October 4, 2013 Web Hosting News 2014-05-23 15:42:45
HostGee Introduces Reseller Hosting Program Web Hosting News 2013-06-12 11:02:08


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?