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 Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 10-02-2008
PWSwebmaster PWSwebmaster is offline
Registered User
  
 

Join Date: Feb 2006
Location: Canada
Posts: 33
Quote:
Originally Posted by Dave Miller View Post
0,30 00-16 * * * command
There is nothing wrong with this crontab entry. It should run the command on the hour and half hour from midnight thru 4:30pm every day.


Did you mean to have it NOT run at 4:30? You'd need two lines:

0,30 00-15 * * * command # Runs from midnight to 3:30pm
0 16 * * * command # Runs at 4:00pm
You're right. The post must have made me think it doesn't run at 4:30, but his setting would run at midnight and 4:30pm.