Solved

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

Posted on 2011-02-11
2
18,594 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

630 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