The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Contact Us (Meet Our Management Team) > Forum Support Area for Unregistered Users & Account Problems
.
google unix.com



Forum Support Area for Unregistered Users & Account Problems Use this forum if you cannot login to the forums. NO TECHNICAL QUESTIONS - Guest who are not registered or have trouble with registration must post here for admin support.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
cron job starts new cron proccess ron76 SUN Solaris 3 05-12-2008 02:07 AM
Cron and Pseudo-Cron dingusmcghee UNIX for Dummies Questions & Answers 1 01-31-2008 12:58 PM
CRON usage for CRON job skyineyes UNIX for Dummies Questions & Answers 1 01-17-2008 10:17 AM
AIX and cron logs filtering ?: /etc/cronlog.conf, /var/adm/cron/log Keith Johnson AIX 0 01-09-2008 08:32 PM
Cron : you are not authorized to use cron. Sorry. tt155 UNIX for Advanced & Expert Users 1 07-06-2005 11:37 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-18-2008
sanei05 sanei05 is offline
Registered User
  
 

Join Date: Jun 2008
Posts: 4
Help needed on cron job

Hi Yogesh,

I have a script where i have set up a cron job. The script is running manually. The cron job is running successfully. The script is written so that whenever the database link is down, we need to get an alert mail. We are getting the mail when we run the script manually but not when executed through cronjob. Please reply me to sanei05@gmail.com
  #2 (permalink)  
Old 06-18-2008
sanei05 sanei05 is offline
Registered User
  
 

Join Date: Jun 2008
Posts: 4
hi

can u pls help me out what could be the problem.
  #3 (permalink)  
Old 06-18-2008
bankai bankai is offline
Registered User
  
 

Join Date: Jun 2008
Posts: 23
cron jobs run in a limited environment where the PATH is very limited - this would be the first thing to look at if your script works fine manually but not via a cron job
  #4 (permalink)  
Old 06-18-2008
nua7 nua7 is offline
Registered User
  
 

Join Date: Mar 2008
Location: /bin/sh
Posts: 353
Check if the script is getting executed at the first place.It may be a the case, that the script is not running at all..

Easiest way to do this would be, to built certain empty files in the script and check if the files are created.
  #5 (permalink)  
Old 06-18-2008
Neo's Avatar
Neo Neo is online now Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,799
Do not post technical questions in this forum.

No exceptions.

Thank you.
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:36 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0