how to run rdate in Cron Jobs?

RAGOpoR

Verified User
Joined
May 31, 2011
Messages
18
my command

Code:
rdate -s rdate.directadmin.com

result is

rdate: could not set system time: Operation not permitted
 
By default not, you should either run it as root, or use a wrapper. And of course you'd better use ntpdate or ntpd.
 
ntpd is a daemon, which runs in background and is supposed to start with system boot.
 
Read man crontab to learn how to set up a root cronjob from the command line.

Jeff
 
Back
Top