hosted by liquidweb


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

Hosting Security and Technology Tutorials Tutorials related to server security or the like.
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 06-15-2004, 05:11 AM
23cws 23cws is offline
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

Reply With Quote


Sponsored Links
  #2  
Old 06-15-2004, 06:03 AM
Bashar Bashar is offline
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

Reply With Quote
  #3  
Old 06-15-2004, 06:04 AM
23cws 23cws is offline
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

Reply With Quote
Sponsored Links
  #4  
Old 06-15-2004, 12:46 PM
Apocalypse Apocalypse is offline
Junior Guru Wannabe
 
Join Date: Nov 2001
Posts: 79
Thats a cronjob
type crontab -e and add that line there

Reply With Quote
  #5  
Old 06-15-2004, 02:41 PM
Bashar Bashar is offline
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.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Cloud Industry Forum Establishes Cloud Service Provider Code of Practice Web Hosting News 2012-09-21 12:38:23
DigiCert Launches Extended Validation Code Signing Certificates Web Hosting News 2012-08-15 15:30:28
Non-Profit New Zealand Computer Society to Develop Cloud Code of Practice Web Hosting News 2011-09-02 17:22:36
SSL Certificate Authority Comodo Providing Intel Application Certification Web Hosting News 2011-08-12 15:51:28
Web Host DreamHost Contributing Code for Ceph File System to OpenStack Web Hosting News 2011-06-23 20:40:32


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 On
HTML code is Off

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



Forgot Password?
Advertisement:
Web Hosting News:



 

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?