Cisco Headend System Release 2.7
Stop the cron Jobs
4019475 Rev D
57
Stop the cron Jobs
Introduction
Stop any cron jobs that are currently running on the DNCS and the Application
Server. This ensures that no applications or programs initialize during the
installation process. Follow the instructions in this section to stop all cron jobs.
Server. This ensures that no applications or programs initialize during the
installation process. Follow the instructions in this section to stop all cron jobs.
Note: Take note of what time you stop the cron jobs. You may need to manually run
these applications or programs after the installation is complete.
these applications or programs after the installation is complete.
Stop the cron Jobs on the DNCS
1 In the xterm window, type cd and then press Enter. The home directory on the
DNCS becomes the working directory.
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.
b Type the root password and press Enter.
3 Type pgrep -fl cron and press Enter. The DNCS displays the cron process ID
(PID).
4 Use the cron PID from step 3, and type ptree <PID> and press Enter. The DNCS
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 4 show multiple cron processes), type kill -9 <PIDs>
and press Enter.
Important: List the PIDs in reverse order.
Example: kill -9 14652 14651 209
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.
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.
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.
Note: Call Cisco Services for assistance if necessary.