Solved

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

Posted on 2011-02-11
2
18,173 Views
Last Modified: 2012-05-11
This is in AIX 5.3..how to stop/start the cron daemon
0
Comment
Question by:aixtutorial
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

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

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

734 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