Page 1 of 1

How to kill the daily cron process?

Posted: 22 Feb 2012, 16:43
by dedanna1029
It's doing its "run 24/7" crap again, and I've had enough. So has my computer. Problem is, it won't die. Not even if I use -9, not if I shut down, nothing. I want to make it go away. How? Arch, this is my desktop computer. It's been running since night before last (and yes, it's cron, according to top, there's nothing else that can be running like this).

Thanks.

Re: How to kill the daily cron process?

Posted: 22 Feb 2012, 16:48
by Joste
# /etc/init.d/crond stop

Try that.

Re: How to kill the daily cron process?

Posted: 22 Feb 2012, 16:55
by viking60
What Joste said cept you must use rc.d (not init.d) :

Code: Select all

sudo rc.d stop crond

or:
Could we have a

Code: Select all

crontab -l
please and a

Code: Select all

sudo crontab -l
please?

PS:
You can list your daemons with
rc.d list

Code: Select all

[thomas@viking60-server ~]$ rc.d list
[STOPPED][    ] 915resolution
[STOPPED][    ] acpid
[STOPPED][    ] adsl
[STOPPED][AUTO] appset-helper
[STOPPED][    ] autofs
[STOPPED][    ] avahi-daemon
[STOPPED][    ] avahi-dnsconfd
[STOPPED][    ] bluetooth
[STOPPED][    ] brltty
[STOPPED][    ] bttrack
[STOPPED][    ] capiinit
[STOPPED][    ] cpufreq
[STARTED][AUTO] crond
[STARTED][AUTO] cupsd
[STARTED][AUTO] dbus
[STOPPED][    ] deluge-web
etc... etc..
etc...

Re: How to kill the daily cron process?

Posted: 22 Feb 2012, 17:39
by dedanna1029
Thanks, sorry, didn't know I could give a services command for it.

No can do the code for ya. The thing's offline still, and I can't copy/paste it. Am on the phone.

Will try that and be back later - several things going on right now. Thanks again.

Re: How to kill the daily cron process?

Posted: 24 Feb 2012, 02:16
by dedanna1029
Hey, sorry not to get back sooner. It has indeed been an insane, crazy life the last few days.



That got it, /etc/rc.d/crond stop.

Thanks, you two.

Re: How to kill the daily cron process?

Posted: 24 Feb 2012, 23:30
by viking60
Yes.
In Arch you do not need to enter the path.

Code: Select all

rc.d stop crond
is enough, and does the same as

Code: Select all

/etc/rc.d/crond stop

Re: How to kill the daily cron process?

Posted: 25 Feb 2012, 09:31
by dedanna1029
Ah, ok. Wasn't aware of that one. This whole time I've been using the traditional method with services. Thanks!