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

I had a cron job setup that I cleared using cron -r last night.

This morning I tried to enable it again and get this error each time:

cron: can't lock /var/run/crond.pid, otherpid may be 3759: Resource temporarily unavailable

I have tried rebooting and it didn't help. OS = Debian.

share|improve this question
    
Please paste the output of these here: ls -alrth /var/run/crond.pid ls -alrth /var/ – Istvan Oct 17 '09 at 23:52

I was making a dumb error. I should be using crontab command instead of cron.

share|improve this answer

Your Answer

 
discard

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