Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
    
So you have found the problem.... –  Istvan Oct 18 '09 at 15:25
add comment

1 Answer

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

share|improve this answer
add comment

Your Answer

 
discard

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