Solved

This is in AIX 5.3..how to stop/start the cron daemon

Posted on 2011-02-11
2
17,040 Views
Last Modified: 2012-05-11
This is in AIX 5.3..how to stop/start the cron daemon
0
Comment
Question by:aixtutorial
2 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 63 total points
ID: 34875223
Hi,

under AIX you don't need to restart the cron daemon.

If you made changes to a crontab using the "crontab -e" command the cron daemon will be restarted automatically.

If you think you must restart it manually (for whatever reason) just kill the cron process  (but not with kill -9!). It will come back automatically due to "respawn" in inittab.

Finally, should you feel the need to stop cron for a longer period of time, edit /etc/inittab and change "respawn" to "once" in the "cron:" line, then kill cron.
To get it back running change "once" back to "respawn" in inittab and issue "telinit 2".

wmp

0
 
LVL 6

Assisted Solution

by:Tomunique
Tomunique earned 62 total points
ID: 34883114
To just get cron to re-read your /var/spool/cron/crontabs  entries
# ps -ef|grep -v grep |grep /usr/sbin/cron
    root  30714      1   0   Apr 21      - 15:00 /usr/sbin/cron

# kill -1 30714

If you want to literally stop it, and then manually restart it.. see wmp's post above.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question