Web Development
  Home arrow Web Development arrow Page 3 - CRON – Automatically Run Jobs on Your Website
Affiliate Promotion  
Blog Help  
Domain Name Tips  
How To  
Newsletter Marketing  
Online Business Help  
Search Engine Tricks  
Web Development  
Web Hosting  
Website Advertising  
Website Content  
Website Marketing  
 Webmaster Tools
 
Base64 Encoding 
Browser Settings 
CSS Coder 
CSS Navigation Menu 
Datetime Converter 
DHTML Tooltip 
Dig Utility 
DNS Utility 
Dropdown Menu 
Fetch Content 
Fetch Header 
Floating Layer 
htaccess Generator 
HTML to PHP 
HTML Encoder 
HTML Entities 
IP Convert 
Meta Tags 
Password Encryption
 
Password Strength
 
Pattern Extractor 
Ping Utility 
Pop-Up Window 
Regex Extractor 
Regex Match 
Scrollbar Color 
Source Viewer 
Syntax Highlighting 
URL Encoding 
Web Safe Colors 
Whois
 
Forums Sitemap 
Mobile Linux 
APP Generation ROI 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
WEB DEVELOPMENT

CRON – Automatically Run Jobs on Your Website
By: John V. W. Howe
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating:  stars stars stars stars stars / 0
    2007-07-17

    Table of Contents:
  • CRON – Automatically Run Jobs on Your Website
  • The format for...
  • Since we get...
  • Set up a...

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    CRON – Automatically Run Jobs on Your Website - Since we get...


    (Page 3 of 4 )

    Since we get busy and forget to do this weekly, a method to have our web host perform this automatically was the answer.

    The CRON function is very flexible and can be set to run on almost any time frequency you can imagine.

    If you specify a minute in the first field and an hour (24 hour clock) in the second field and leave all the other fields as asterisks, the specified program will run on that hour and minute every day. If you want the program to run twice a day at 10 and 11 AM, you can write the CRON as:

    CRON 0 10,11 * * * Command to execute

    With the proper combinations, you can set up a job to run automatically on almost any schedule that you can imagine.

    Let’s try a few. Write a CRON to execute on every Sunday at midnight.

    If you got “0 0 * * 0 Command to execute", then you are right. The zero in the first position is on the hour. The zero in the second position is midnight. The zero in the fifth position (day of the week) is Sunday. This is what we used for our CRON settings for the CD AD Box update.

    More Web Development Articles
    More By Jase Dow


     

       

    WEB DEVELOPMENT ARTICLES

    - Firebug Firefox Extension Review
    - Is a CMS or Custom Code Better for Your Web ...
    - Tips To Increase Website Conversions
    - Forum Discussions and Getting Traffic for Yo...
    - About Drupal
    - Is Your Web Site Effective?
    - Got Navigation?
    - Website Traffic: 5 Ways To Guarantee Your Si...
    - Ten Terrific Tips for On Page Optimisation
    - Tips for Building Niche Websites
    - Why Not Have A One Web Page Design Until You...
    - The Importance Of Good Web Design
    - Four Critical Web Design Rules
    - Wordpress Themes: Selecting an Effective The...
    - Helping Your Visitors To A Great Website Exp...





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
    Stay green...Green IT