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

27,563

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

Share:
27,563

Related videos on Youtube

Admin
Author by

Admin

Updated on November 19, 2022

Comments

  • Admin
    Admin over 1 year

    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.

    • Admin
      Admin over 14 years
      Please paste the output of these here: ls -alrth /var/run/crond.pid ls -alrth /var/