The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
at vs cronjob mokkan SUN Solaris 1 05-16-2008 08:50 PM
cronjob wiz83 UNIX for Dummies Questions & Answers 1 01-24-2008 11:47 PM
CronJob hcng08 HP-UX 1 08-01-2006 07:44 PM
cronjob prob rahul123_libra UNIX for Dummies Questions & Answers 3 01-11-2006 05:18 AM
Cronjob gerwhelan Shell Programming and Scripting 4 12-14-2001 03:17 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 10-01-2004
Registered User
 

Join Date: Oct 2004
Posts: 1
Unhappy cannot run cronjob

I have the following cron:

0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /v/sysadmin/sysnet/file.pl

The .pl has been tried at 755 and 777

The script works if manually run by the web browser or unix command prompt, but I can't get the Cron to do it automatically

i went thru the thread http://forums.devshed.com/archive/t-153308

it says "Solution: put the whole env. n the script."
i m using tcsh
what does this mean??

it was working fine for 3 months and all of suden it stops executing

Thanks,
Rahul
Reply With Quote
Forum Sponsor
  #2  
Old 10-06-2004
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Quote:
it was working fine for 3 months and all of suden it stops executing
Find what changed. Either permissions on the directories ( /v/sysadmin/sysnet/ ), crontab file (could have an error on that line that you don't realize), permissions for the user running the cron job (if not root - acl's put in place... ).

I would not think if it WAS working, that insuring the environment is set will do any good - you probably had that straight before (double check that no one changed your .profile or the system profile).

Can you find any error messages in log files? cron.log, messages, ... Post your OS/version for more assistance on that.
Reply With Quote
  #3  
Old 10-28-2004
hachik's Avatar
Registered User
 

Join Date: Jun 2002
Location: Estonia
Posts: 64
maybe you need to watch all the path to be +x for user who runs this crontab?
Reply With Quote
  #4  
Old 10-28-2004
Registered User
 

Join Date: Nov 2002
Location: Singapore
Posts: 128
check your cron log. Perhaps the user account has expired.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 02:27 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