I've been experiencing some problems with cron.
I wanted to make it execute a script for me. But, before doing this I've decided to see if it was working. So, I typed:
It returned the error below:
The PID no 3731 actually is cron.
I also noticed that, it doesn't matter which command I give it, whether it is "sudo cron start" or "sudo cron stop" or "sudo cron 'anything'" it always returns the same message.
Does anybody have any suggestion to help me solving this problem? Any comment is welcome!
PS: I haven't edited /etc/crontab. It is exactly the same way as it was when installed.
I wanted to make it execute a script for me. But, before doing this I've decided to see if it was working. So, I typed:
Code:
sudo cron status
Code:
cron: can't lock /var/run/crond.pid, otherpid may be 3731: Resource temporarily unavailable
I also noticed that, it doesn't matter which command I give it, whether it is "sudo cron start" or "sudo cron stop" or "sudo cron 'anything'" it always returns the same message.
Does anybody have any suggestion to help me solving this problem? Any comment is welcome!
PS: I haven't edited /etc/crontab. It is exactly the same way as it was when installed.
Comment