![]() |
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 |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cronjob is not running | sanei05 | UNIX for Advanced & Expert Users | 2 | 06-19-2008 01:29 PM |
| Nested loop not running using cronjob | bihani4u | Shell Programming and Scripting | 9 | 09-26-2007 11:19 AM |
| Shell script not running thru Cronjob | gauravshrinivas | Shell Programming and Scripting | 8 | 11-03-2006 10:17 AM |
| Running scripts parallely | santho | UNIX for Dummies Questions & Answers | 4 | 07-23-2006 12:42 PM |
| Variables are not getting exported while running the script in cronjob | csaha | Shell Programming and Scripting | 7 | 03-21-2006 04:32 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Running scripts through cronjob.
Hello everybody,
I'm trying to run a shell script in crontab file. But anyhow it's not getting executed. Following is the command that I've used in crontab. 30 07 * * * . ./.cronprofile;/om/reports/reportscripts/jitu/prod/prd_pre_to_post.sh 35 11 * * * . ../.cronprofile;/om/reports/reportscripts/jitu/prod/prd_cap_nw_conn.sh both are not getting executed. Could anybody tell me where I'm going wrong ? |
|
||||
|
Jitu,
You can debug using 30 07 * * * ksh -x . ./.cronprofile;/om/reports/reportscripts/jitu/prod/prd_pre_to_post.sh > /tmp/output1.txt 35 11 * * ksh -x * . ../.cronprofile;/om/reports/reportscripts/jitu/prod/prd_cap_nw_conn.sh > /tmp/output2.txt |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|