Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to stop cron process

1,723 views
Skip to first unread message

Giovanni Sarta

unread,
Dec 2, 1998, 3:00:00 AM12/2/98
to
Hello:

I would like to know how can I stop and start the cron process in a
script.

In other Unix platforms it can be done with
PATH/cron stop and PATH/cron start, but I tried in AIX and it doesnt
work.

Thanks for your help

Giovanni Sarta
giovann...@citicorp.com

Mirco Müller

unread,
Dec 2, 1998, 3:00:00 AM12/2/98
to
Hello back,
if you want to stop cron-jobs from users, su to the user and type:
crontab -r.
To start the crontab use:
su - user
crontab /..../crontab.file
To controll look at crontab or look in:
/var/spool/cron/crontabs/!!!
All files in there, are cronjobs from users.

Bis dann
Mirco

Giovanni Sarta schrieb:

Mirco Müller

unread,
Dec 2, 1998, 3:00:00 AM12/2/98
to

Mirco Müller

unread,
Dec 2, 1998, 3:00:00 AM12/2/98
to

Mirco Müller

unread,
Dec 2, 1998, 3:00:00 AM12/2/98
to

Yohannes Amare

unread,
Dec 3, 1998, 3:00:00 AM12/3/98
to
Giovanni, lookup the man page for the crontab command!
Hope this helps.

Yohannes.
--
\\\|///
\\ ~ ~ //
(/ @ @ /)
___oOOo-(_)-oOOo____________________________________________________________
| |
| Yohannes Amare | IBMIPNET: yohannes@ibmusm05 |
| UNIX Distributed Computing Support | Internet: yoha...@us.ibm.com |
| IBM Global Services | Phone: (301) 240-8184 |
| Gaithersburg, MD | Tie Line: 372-8184 |
| | |
|___________Oooo.____________________________________________________________|
.oooO ( )
( ) ) /
\ ( (_/
\_)

AIXMighty!

unread,
Dec 3, 1998, 3:00:00 AM12/3/98
to
man cron & init

and

for one thing, you need root access to stop cron (if i understood your
question correctly). cron is controlled by init. you can turn off cron
with chitab "cron:2:off:/usr/sbin/cron" and to turn it back on, change
the :off: to :respawn:

if you're trying to start/stop a script that is controlled by cron, man
crontab


Orphy! :-)
Dallas, TX

In article <3665E07D...@citicorp.com>,

Giovanni Sarta

unread,
Dec 4, 1998, 3:00:00 AM12/4/98
to AIXMighty!
Orphy:

Thanks. It solved the problem.

0 new messages