Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

At the top of my sudo crontab -e result it shows this:

# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (Dox-Web-1_CRONTAB installed on Fri Jul 30 17:51:25 2010)
# (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $)

I edited the file specified here, then I tried /etc/init.d/cron reload /etc/init.d/cron restart but when I sudo edit the crontab it doesn't show up. What am I doing wrong?

share|improve this question

After you edit /scripts/Dox-Web-1_CRONTAB, you need to run

$ crontab /scripts/Dox-Web-1_CRONTAB

which loads it into the user crontab file. You can verify it's been loaded by

$ crontab -l

It is ok to edit it with

$ crontab -e

The warning is saying that you should not edit the crontab files that are stored in /var/spool/cron/crontabs/, which is where crontab filename and crontab -e write to.

Also, you do not need to restart or reload the cron daemon. The crontab command tells the cron daemon that the crontab file has been updated.

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.