hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Every half hour Cron job?
Reply

Forum Jump

Every half hour Cron job?

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old
Junior Guru
 
Join Date: Mar 2001
Posts: 189

Every half hour Cron job?


Please tell me how to configure a Cron job to run every 1/2 hour.



Sponsored Links
  #2  
Old
Junior Guru Wannabe
 
Join Date: Oct 2006
Posts: 44
Use the crontab command to edit the relevant cron file, and add a line like
0,30 * * * * <commandToRunHere>

Comma seperated entries in a field are treated as a list, so this line will run the program on the hour and half-hour

__________________
Andrew
Spry VPS Hosting cPanel VPS, Plesk VPS, Webmin VPS, Shared, Domain Registration, Dedicated and Colo
VPSLink Cheap VPS accounts CentOS, Fedora 4/5/6, RHEL, Gentoo, Debian, Ubuntu -- Dapper/Edgy, Slackware, OpenSUSE, LAMP + Ruby pre-installed available

Reply

Related posts from TheWhir.com
Title Type Date Posted
Large Volume DDoS Attacks See Exceptional Growth in First Half of 2014: Arbor Networks Web Hosting News 2014-07-18 13:48:25
Microsoft Exchange Online Outage of Over 8 Hours Frustrates Customers Web Hosting News 2014-06-25 11:23:55
Three Tips to Reduce Meetings, Work Hours, and Be as Productive as Ever Blog 2013-11-01 15:18:39
Arbor Networks Launches Q2 DDoS Attack Data Web Hosting News 2013-08-01 16:09:42
Jelastic Launches Version 1.9.1 of Java and PHP Hosting Platform Web Hosting News 2013-05-21 09:39:09


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?