home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / hp / 15323 < prev    next >
Encoding:
Text File  |  1993-01-27  |  2.1 KB  |  47 lines

  1. Newsgroups: comp.sys.hp
  2. 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
  3. From: dan@lamar.ColoState.EDU (Danilo Silva)
  4. Subject: Re: resubmition every half hour
  5. Sender: news@yuma.ACNS.ColoState.EDU (News Account)
  6. Message-ID: <Jan26.174541.44927@yuma.ACNS.ColoState.EDU>
  7. Date: Tue, 26 Jan 1993 17:45:41 GMT
  8. References: <26JAN199311414797@pvhep.pvamu.edu>
  9. Nntp-Posting-Host: lamar.acns.colostate.edu
  10. Organization: Colorado State University, Fort Collins, CO  80523
  11. Lines: 34
  12.  
  13. In article <26JAN199311414797@pvhep.pvamu.edu> devine@pvhep.pvamu.edu (WILLIAM CHARLES DEVINE, II) writes:
  14. >How can i submit a cron job that will run someting every 30 minutes or so?
  15. >
  16.  
  17.  
  18. Use crontab.
  19. Here is an example of what "I think" you want to do:
  20.  
  21. #  +--------------------------- Minutes of the hour (0 to 59)
  22. #  | +------------------------- Hour (0 to 23)
  23. #  | |    +-------------------- Day of the month (1-31)
  24. #  | |    | +------------------ Month of the year (1-12)
  25. #  | |    | | +---------------- Day of the week (0-6 with 0=Sunday)
  26. #  | |    | | |       +-------- Program or script to be executed
  27. #  | |    | | |       | 
  28. #  | |    | | |       |   
  29.    0 *    * * 1-6  /users/root/MYPROGRAM >> message.file 2>&1 
  30.  
  31.  
  32. ... for my $.000000000000002
  33.                                       __________________________
  34.                                      /                          \
  35.   __________________________________/     D A N   S I L V A      \
  36.   |                                                               \
  37.   |  Danilo Vieira da Silva -   dan@lamar.colostate.edu           |
  38.   |                                                               |
  39.   |  TEC - Psychology Department                                  |
  40.   |  Colorado State University                           |
  41.   |  Fort Collins - CO - USA                                      |
  42.   |                                                               |
  43.   |  Disclaimer:  Default B.S.                                    |
  44.   |  -------------------------                                    |
  45.   +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
  46.  
  47.