The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
problem with crontab cleansing_flame UNIX for Dummies Questions & Answers 1 01-29-2008 05:02 PM
Problem with crontab cleansing_flame UNIX for Dummies Questions & Answers 3 01-14-2008 01:03 PM
Crontab problem jess_t03 AIX 2 01-03-2008 04:29 AM
Problem with Crontab Zak UNIX for Dummies Questions & Answers 2 12-20-2005 02:44 AM
crontab problem DebianJ UNIX for Advanced & Expert Users 10 06-04-2005 12:36 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 02-17-2006
Registered User
 

Join Date: Sep 2005
Posts: 130
Unhappy crontab problem

HI,

i am working on linux.

i have crontab problem

i wrote a small script and put it in a crontab .

but the script is not running..

i have given following way in crontab -e

02 06 * * * /bin/csh /home/vr_test.csh

but the above script is not running


please rectify my problem

regards
rajan
Reply With Quote
Forum Sponsor
  #2  
Old 02-17-2006
Registered User
 

Join Date: Dec 2005
Location: India
Posts: 218
are you able to run the script through command line.
and using ./scriptname.csh in the crontab may help you, like

02 06 * * * cd /bin/csh /home/; ./script.csh
Reply With Quote
  #3  
Old 02-17-2006
Registered User
 

Join Date: Sep 2005
Posts: 130
from command line i am able to run the script

./test.csh

i modified crontab with your script but it is not working..
Reply With Quote
  #4  
Old 02-17-2006
Registered User
 

Join Date: Dec 2005
Location: India
Posts: 218
your script is kept at what path?
Reply With Quote
  #5  
Old 02-17-2006
Registered User
 

Join Date: Sep 2005
Posts: 130
/home/xtuser/test.csh
Reply With Quote
  #6  
Old 02-17-2006
Registered User
 

Join Date: Dec 2005
Location: India
Posts: 218
try giving

2 6 * * * cd /home/xtuser/; ./test.csh
Reply With Quote
  #7  
Old 02-17-2006
Registered User
 

Join Date: Sep 2005
Posts: 130
no use

not working
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 10:36 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0