Cisco Headend System Release 2.7 Installation Guide

Page of 190
 
 
 
Stop the cron Jobs 
 
4023737 Rev C 
47 
 
Stop the cron Jobs on the SA Application Server 
1  In the xterm window, type cd and then press Enter. The home directory on the 
DNCS becomes the working directory. 
Note: Alternatively, you can complete this procedure from a remote shell on the 
Application Server: 
a  In a DNCS xterm window, type rsh appserver and press Enter. This will 
open a remote shell on the Application Server. 
b  Proceed to step 2 and run the commands from the remote shell. 
2  Complete the following steps to log on to the xterm window as root user. 
a  Type su - and press Enter. The password prompt appears. 
b  Type the root password and press Enter
3  Type pgrep -fl cron and press Enter. The Application Server displays the cron 
process ID (PID). 
4  Use the cron PID from step 3, and type ptree <PID> and press Enter. The 
Application Server displays the process tree of all cron processes. 
5  Did the results from step 4 only include /usr/sbin/cron? 
 
If yes, type svcadm -v disable -s cron and press Enter
 
If no, (results from step 2 show multiple cron processes), type kill -9 <PIDs> 
and press Enter
Important: List the PIDs in reverse order. 
Example: kill -9 14652 14651 209 
 
If the results from step 4 did not show /usr/sbin/cron, then the cron jobs are 
already stopped. 
6  Confirm that the cron jobs have stopped by typing pgrep -fl cron and press 
Enter. The command prompt should be the only item displayed; no processes 
should be displayed. 
Note: The "l" in "fl" is a lowercase L. 
7  If the results from step 6 show that the cron process is still running, repeat steps 
4 though 6. 
Note: Call Cisco Services for assistance if necessary.