LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-12-2007, 02:00 PM   #1
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Århus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619

Rep: Reputation: 45
run a command at startup/resume


Hi folks,

I would like to correct the time (using ntpdate) every time I boot my box up or resume it from hibernate. Obviously, this must happen after network has come up.

What would be the best place for this command? Can I do it in one place?

Thanks in advance,
Ott
 
Old 09-12-2007, 02:23 PM   #2
isuck@linux
Member
 
Registered: Jun 2006
Distribution: messed up debian
Posts: 250

Rep: Reputation: 30
I believe the ntp client has startup scripts to update your clock.
 
Old 09-12-2007, 10:50 PM   #3
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Århus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619

Original Poster
Rep: Reputation: 45
Hm. Seems like ntp instead of ntpdate solves the problem.
Tnx, Ott
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Run user command on Terminal startup coolfrog Linux - General 4 09-26-2004 09:08 AM
make a command run at startup? cheater1034 Linux - General 2 09-12-2004 05:51 AM
How can I run a command automatically at startup? luwigie Linux - General 8 08-26-2004 09:05 PM
making kde run a command at startup wfettich Linux - General 3 05-10-2004 03:13 PM
How do I get Fedora to automatically run a command during startup? jlsain Linux - Software 2 03-23-2004 04:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration