Crontab job to run every sunday | Unix Linux Forums | Shell Programming and Scripting

  Go Back    


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

Crontab job to run every sunday

Shell Programming and Scripting


Tags
shell script, shell scripting, unix scripting, unix scripting basics

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 12-15-2008
govindts govindts is offline
Registered User
 
Join Date: Nov 2007
Last Activity: 1 July 2014, 5:35 PM EDT
Posts: 114
Thanks: 0
Thanked 1 Time in 1 Post
Crontab job to run every sunday

Hello,

I wanted to run one of my shell script for every sunday at 5PM.

Here is the crontab entry i am using..

00 17 * * 0 /inventory/update.sh > /inventory/update.log 2>&1

The job is not kicking on sunday at the specified time.. Am i missing anthing?

Any help is appreciated...
Sponsored Links
    #2  
Old 12-15-2008
Autocross.US's Avatar
Autocross.US Autocross.US is offline
Registered User
 
Join Date: Nov 2008
Last Activity: 10 October 2010, 2:11 PM EDT
Location: Chesapeake, VA
Posts: 73
Thanks: 0
Thanked 0 Times in 0 Posts
The syntax is correct for the job. Have you checked the cron log for any leads on what might be causing the problem?
Sponsored Links
    #3  
Old 12-15-2008
govindts govindts is offline
Registered User
 
Join Date: Nov 2007
Last Activity: 1 July 2014, 5:35 PM EDT
Posts: 114
Thanks: 0
Thanked 1 Time in 1 Post
now i got it... The shell script does not have correct privileges.. I fixed it. thank you again
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Autosys job run on Sunday anupdas UNIX for Advanced & Expert Users 2 04-04-2011 07:52 PM
Run script on every second sunday masquerer UNIX for Dummies Questions & Answers 5 02-07-2011 09:47 PM
Crontab running every alternative sunday Krrishv UNIX for Dummies Questions & Answers 2 03-23-2010 12:46 PM
Crontab job on sunday with two week interval tan.pham AIX 4 03-20-2008 03:50 AM



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