HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

Crond in HPUX

 
SOLVED
Go to solution
AnkushKalra
Advisor

Crond in HPUX

Hi,

I am new to HPUX.I have some doubts related to "crond" in HPUX.

I have one HPUX box.Details of HP Server is as below.

#uname -a
HP-UX SrvName B.11.31 U ia64 2915055790 unlimited-user license


In this already cronjobs arealready  running fine.If we add one more cronjob,do i have to start any service??I know in rhel7,you donot have to restart any service.Kernel reloads crond service automatically.is the same in HPUX or is different?

Also how can i check "cron" status in hpux like we can do the same in rhel using "systemctl status crond".

Please help

5 REPLIES
Patrick Wallek
Honored Contributor
Solution

Re: Crond in HPUX

If you edit your crontab file with 'crontab -e' then NO, you do not have to restart the cron daemon.

 

To verify that cron is running the easiest way is 'ps -ef | grep cron'.

 

 

AnkushKalra
Advisor

Re: Crond in HPUX

Thanks for the responce.Also please let me know how can i check "cron" status in hpux like we can do the same in rhel using "systemctl status crond".I know i can see "crond" service using "ps -ef | grep crond",but can i get crond status output similar to rhel  

Patrick Wallek
Honored Contributor

Re: Crond in HPUX

No, you cannot.  There is no 'systemctl' type command for HP-UX.

AnkushKalra
Advisor

Re: Crond in HPUX

Thanks all for the help!!!

Re: crond in HP-UX

> I know i can see "crond" service using "ps -ef | grep crond",

 

That's all there is, it's either running or not.

A better command for checking for process existence, no need for grep, is:

UNIX95=EXTENDED_PS ps -HfC crontd