Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On debian squeeze as user root I add this cronjob with "crontab -e"

*/1 * * * *     root /usr/sbin/ntpdate >> /var/log/ntpdate.log

But this cronjob will not run, there is also nothing into /var/log/ntpdate.log after insert this cronjob I restart the service with /etc/init.d/cron restart but nothing happend.

What can I do to let this cronjob start.

share|improve this question
What's in your cron log? – l0b0 Jun 12 '13 at 9:09
*/1 is the same as *, semantically ("Run every minute"). Have you tried the latter? – l0b0 Jun 12 '13 at 9:10
There is no /var/log/cron.log and in my syslog there is no entry with cron – kockiren Jun 12 '13 at 9:23
By the way, please don't do this. It doesn't actually synchronize your clock's rate, which is probably what you really want. It also contributes to the "thunderclap effect" (massive burst of traffic to and from public NTP servers at the second boundary) which harms everyone's NTP accuracy by increasing latency and jitter. If you must do this, make sure you have obtained permission to do this for each NTP server you plan to query in this way. – David Schwartz Jun 12 '13 at 10:13
It is only a workaround for round about a week. – kockiren Jun 12 '13 at 10:44
up vote 4 down vote accepted

If you used crontab -e instead of dropping a file in /etc/cron.d, your line has too many fields. You only specify the user in the latter case.

Removing the username from your crontab, it should look like this:

*/1 * * * *    /usr/sbin/ntpdate >> /var/log/ntpdate.log

Syntax errors would have been written into /var/log/cron.log; it's always worth checking that file if you have problem with cron.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.