How to kill the daily cron process?

Need help with your Linux distro? All questions are good - not all answers are -but we try

Moderator: jkerr82508

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

How to kill the daily cron process?

Postby dedanna1029 » 22 Feb 2012, 16:43

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.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
Joste
Berserk
Posts: 84
Joined: 15 Mar 2010, 01:19

Re: How to kill the daily cron process?

Postby Joste » 22 Feb 2012, 16:48

# /etc/init.d/crond stop

Try that.
Past experience demonstrates best method to tighten bolts is to use appropriate size spanners.

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: How to kill the daily cron process?

Postby viking60 » 22 Feb 2012, 16:55

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...
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: How to kill the daily cron process?

Postby dedanna1029 » 22 Feb 2012, 17:39

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.

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: How to kill the daily cron process?

Postby dedanna1029 » 24 Feb 2012, 02:16

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.

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: How to kill the daily cron process?

Postby viking60 » 24 Feb 2012, 23:30

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
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: How to kill the daily cron process?

Postby dedanna1029 » 25 Feb 2012, 09:31

Ah, ok. Wasn't aware of that one. This whole time I've been using the traditional method with services. Thanks!
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html


Return to “Help”