Showing results for 
Search instead for 
Did you mean: 

Cron configuration in HP-UX B.11.31

New Member

Cron configuration in HP-UX B.11.31



We are running some DB connector application in HP-UX B.11.31 Super Droomm server.

In that application we need to start the application by running script everyday at 8.00AM.


File location : /WASapp/Dev/DBC/

Following are the output of some commands.


cron tab -l                               : 00 08 * * * /WASapp/Dev/DBC/

who am i                                 : wasadm

more /var/adm/cron/log    :  > CMD: /WASapp/Dev/DBC/


Though the cron is run, the application is not started.

When i run the application by selecting the exact script path in CRONTAB , the application starts.


Is there anything that i did wronge here??

Can any one help...?



Acclaimed Contributor

Re: cron configuration in HP-UX B.11.31

When you use cron, your .profile isn't sourced.  If you have any variable settings, these must be done manually either in your crontab entry or in your script.

Honored Contributor

Re: cron configuration in HP-UX B.11.31

And if the command that is executed by cron returns any error messages, those error messages will be automatically emailed to the user. If local emails are not directed to any central mail server, those emails would end up in the local email inbox... in this case, into the /var/mail/wasadm file.


Reading that file may provide more clues about what is going wrong.