Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!hp4nl!ahds!geert From: geert@ahds.UUCP (Geert W.T. Jonkheer CCS/TS) Newsgroups: comp.unix.questions Subject: How to kill cron and start cron again, using cron ? Keywords: cron(1), kill, HELP NEEDED! Message-ID: <1933@ahds.UUCP> Date: 8 Apr 91 13:37:10 GMT Organization: Ahold NV, Zaandam, Netherlands, EEC Lines: 30 For a reason, i want to kill cron(1) for a little moment and then start it again (when there are now processes running, started by cron). As this must occur automatically (one's a year) , cron(1) must be killed using cron(1). You can't use at(1) to kill cron, because atrun is also started from cron, thus this isn't a solution. The killing of cron, will succeed, but after it has been killed, it never starts up again. The program that killed cron, doesn't run anymore, because it killed his parent 'cron'. I've tried to start cron(1) from init(1), using an inittab(4) entry for cron. I'll quote: 'cron:1:respawn:/etc/cron' But when i did this, cron(1) starts over and over again, apparently init(1) does not see that cron has already started yet. Is there somebody who can help, any suggestions are welcome? Thanks in advance. Geert. ---------------------------------------------------------------------- Albert Heyn B.V. Zaandam. UUCP: ....!hp4nl!ahds!geert The Netherlands. ----------------------------------------------------------------------