home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp
- Path: sparky!uunet!tcsi.com!iat.holonet.net!news.cerf.net!usc!zaphod.mps.ohio-state.edu!darwin.sura.net!udel!gatech!purdue!yuma!lamar!dan
- From: dan@lamar.ColoState.EDU (Danilo Silva)
- Subject: Re: resubmition every half hour
- Sender: news@yuma.ACNS.ColoState.EDU (News Account)
- Message-ID: <Jan26.174541.44927@yuma.ACNS.ColoState.EDU>
- Date: Tue, 26 Jan 1993 17:45:41 GMT
- References: <26JAN199311414797@pvhep.pvamu.edu>
- Nntp-Posting-Host: lamar.acns.colostate.edu
- Organization: Colorado State University, Fort Collins, CO 80523
- Lines: 34
-
- In article <26JAN199311414797@pvhep.pvamu.edu> devine@pvhep.pvamu.edu (WILLIAM CHARLES DEVINE, II) writes:
- >How can i submit a cron job that will run someting every 30 minutes or so?
- >
-
-
- Use crontab.
- Here is an example of what "I think" you want to do:
-
- # +--------------------------- Minutes of the hour (0 to 59)
- # | +------------------------- Hour (0 to 23)
- # | | +-------------------- Day of the month (1-31)
- # | | | +------------------ Month of the year (1-12)
- # | | | | +---------------- Day of the week (0-6 with 0=Sunday)
- # | | | | | +-------- Program or script to be executed
- # | | | | | |
- # | | | | | |
- 0 * * * 1-6 /users/root/MYPROGRAM >> message.file 2>&1
-
-
- ... for my $.000000000000002
- __________________________
- / \
- __________________________________/ D A N S I L V A \
- | \
- | Danilo Vieira da Silva - dan@lamar.colostate.edu |
- | |
- | TEC - Psychology Department |
- | Colorado State University |
- | Fort Collins - CO - USA |
- | |
- | Disclaimer: Default B.S. |
- | ------------------------- |
- +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
-
-