![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cron not running | garric | UNIX for Advanced & Expert Users | 6 | 04-11-2008 05:32 AM |
| Cron not running .. please help | beisaikong | Shell Programming and Scripting | 2 | 07-12-2007 04:05 AM |
| cron job is not running | Suguna | UNIX for Advanced & Expert Users | 3 | 09-28-2006 06:11 AM |
| Cron Job Not Running | nag_sundaram | HP-UX | 1 | 10-17-2005 07:38 AM |
| running cron jobs | ted | Shell Programming and Scripting | 1 | 05-19-2004 09:35 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
not running in cron
I have written a shell script and when i run it from shell prompt it runs fine but in the cron it only runs partially.
That means cron is working fine. there is a command which i am using in the script which doesn't run at all. That comman uses different user privileges like ptadmin i am not sure how to make this work. What I am thinking is that particular comman exports the database from oracle and it take 20-25 min to execute it while i run manually. but in the cron it looks like it doesn't even try it. Although i have checked the log file and cron is creating log file so its executing but. Any thoughts fellows. tx |
| Forum Sponsor | ||
|
|
|
|||
|
thanks fellows..
I have added my commandline enviornment to my script .. it didn't work but later on i changed my shell to k shell and it worked like piece of cake. In ksh after my enviornment variable i used export. e.g. PATH=/usr/abc:/usr/bcd; export PATH; .. does somebody know how to do the same in csh & bourne shell. Thanks again |