The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



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
at vs cronjob mokkan SUN Solaris 1 05-16-2008 11:50 PM
cronjob wiz83 UNIX for Dummies Questions & Answers 1 01-25-2008 02:47 AM
CronJob hcng08 HP-UX 1 08-01-2006 10:44 PM
cronjob prob rahul123_libra UNIX for Dummies Questions & Answers 3 01-11-2006 08:18 AM
Cronjob gerwhelan Shell Programming and Scripting 4 12-14-2001 06:17 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 Search this Thread Rating: Thread Rating: 2 votes, 3.00 average. Display Modes
  #1 (permalink)  
Old 10-01-2004
shahrahulb shahrahulb is offline
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
  #2 (permalink)  
Old 10-06-2004
RTM's Avatar
RTM RTM is offline Forum Advisor  
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.
  #3 (permalink)  
Old 10-28-2004
hachik's Avatar
hachik hachik is offline
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?
  #4 (permalink)  
Old 10-28-2004
izy100 izy100 is offline
Registered User
  
 

Join Date: Nov 2002
Location: Singapore
Posts: 128
check your cron log. Perhaps the user account has expired.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not 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 09:42 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