![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cron not running | garric | UNIX for Advanced & Expert Users | 6 | 04-11-2008 08:32 AM |
| Cron not running .. please help | beisaikong | Shell Programming and Scripting | 2 | 07-12-2007 07:05 AM |
| cron job is not running | Suguna | UNIX for Advanced & Expert Users | 3 | 09-28-2006 09:11 AM |
| Cron Job Not Running | nag_sundaram | HP-UX | 1 | 10-17-2005 10:38 AM |
| running cron jobs | ted | Shell Programming and Scripting | 1 | 05-19-2004 12:35 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | 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 |
|
||||
|
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 |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|