Running ntpdate from cron.daily

Stephen Kuhn yank.down.under at gmx.com
Mon Jul 18 07:17:04 UTC 2011


On Mon, 2011-07-18 at 07:20 +0100, Colin Law wrote:

> My question has nothing to do with the ntp daemon ntpd, which I think
> is what you are referring to.  The Plug PC only has 512MB ram and a
> 4GB SD.  I do not wish the overheads of additional disk space, ram or
> processor of installing and running ntpd.  Synchronising the clock
> daily using ntpdate is sufficient.  My question is merely whether a
> script in cron.daily should start with the #! shell line.
> 
> Colin

So sorry, Colin!
Yes, you start the script with:

#!/bin/bash

...and the a nice "exit" at the end generally...sorry mate!

-- 
yankdownunder
reg'd linux user #267497
--------------------------------------
Veni, Vidi, volo in domum redire.
--------------------------------------
I run linux, now go STFU.





More information about the ubuntu-users mailing list