SunQuest
           Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old February 12th, 2002, 08:52 PM
jobesd jobesd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: USA
Posts: 194 jobesd User rank is Corporal (100 - 500 Reputation Level)jobesd User rank is Corporal (100 - 500 Reputation Level)jobesd User rank is Corporal (100 - 500 Reputation Level)jobesd User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 5 h 47 m 49 sec
Reputation Power: 10
Crontab, correct syntax from command line help

from a telnet cmd prompt what is the correct syntax for setting up a crontab?

I want it to run at 23:59 everyday,everymonth,everyday of the week.

crontab -e 59 23 1-31 1-12 0-6 * wget http://www.mydomain.com/update.php


any help would be appreciated

Thanks jobesd
__________________
I only do what the voices in my head keep telling me to do.

Reply With Quote
  #2  
Old February 12th, 2002, 08:57 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
59 23 * * * /full/path/to/wget http://www.domain.com/update.php 2>&1 > /dev/null

Above is BSD's format so RTFM for yours.

Reply With Quote
  #3  
Old February 12th, 2002, 08:59 PM
jobesd jobesd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: USA
Posts: 194 jobesd User rank is Corporal (100 - 500 Reputation Level)jobesd User rank is Corporal (100 - 500 Reputation Level)jobesd User rank is Corporal (100 - 500 Reputation Level)jobesd User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 5 h 47 m 49 sec
Reputation Power: 10
I should have stated I have linux.

would you know the linux format?

Thanks jobesd.

Reply With Quote
  #4  
Old February 12th, 2002, 09:02 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Can you man 5 crontab? If not, can you search google?

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > Crontab, correct syntax from command line help


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway