home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / coherent / 3946 < prev    next >
Encoding:
Internet Message Format  |  1992-08-22  |  3.2 KB

  1. Path: sparky!uunet!utoday!infopro!neptons
  2. From: roger@neptons.UUCP (Roger Barth)
  3. Subject: Coh 4.0.1 crontab problems
  4. Newsgroups: comp.os.coherent
  5. Date: 23 Aug 92 00:48:55 GMT
  6. Distribution: world
  7. Message-ID: <410235@neptons.UUCP>
  8. Organization: Cameron Park, CA
  9. Sender: news@neptons.UUCP (GNEWS Version 2.0 news poster.)
  10. Lines: 84
  11.  
  12. I successfully upgraded to Coherent 4.0.1!!
  13.  
  14. Now I would like to convert my old /usr/lib/crontab to use the new
  15. /usr/spool/cron/crontabs/.., but whenever I move the items for root 
  16. uucp to execute from the old /usr/lib/crontab to the new directory,
  17. they stop working.
  18.  
  19. This has gotten to be a pain since I have upgraded GNEWS and compiled
  20. it under 4.0.1 to be 386 executables, so the old 'besomeone' of 286
  21. vintage does not exist in the new crontab structure.
  22.  
  23. Here is my old /usr/bin/crontab:
  24. # /usr/lib/crontab 10/23/90
  25.  
  26. # Execute atrun every five minutes.
  27. 0,5,10,15,20,25,30,35,40,45,50,55 * * * *    /usr/lib/atrun
  28.  
  29. # Clean uucp logs at 0001 every day.
  30. 01 00 * * * su uucp sh /usr/lib/uucp/uumvlog 1
  31. 05 00 * * * su uucp sh /usr/lib/uucp/uutraffic
  32.  
  33. # Run gnewrrun, Clean up GNEWS logs and kill stuff over 10 days old
  34. 08 00 * * * besomeone 'root' 'gnewslog'
  35. 10 00 * * * besomeone 'root' 'gnewsexp 10'
  36. 15 4,5,6,7,8,10,11,12,14,16,18,20,22 * * * besomeone 'root' 'gnewsrun'
  37.  
  38. # monitor /usr/spool/uucp for outgoing stuff and transmit
  39. 24,54 * * * *      su uucp sh /usr/bin/uumonitor
  40.  
  41. # Conditionally poll sites
  42. 19 1 * * 3   su uucp /usr/lib/uucp/uucico -smwcbbs
  43. 40 1 * * 3   su uucp /usr/lib/uucp/uucico -santares
  44. 30 2 * * 3   su uucp uucp mwcbbs!/usr/spool/uucppublic/mwcnews/news ~/
  45.  
  46. My /usr/spool/cron/crontabs/root should look like this:
  47. ---------------
  48. # /usr/spool/cron/crontabs/root 8/22/92
  49.  
  50. # Execute atrun every five minutes.
  51. 0,5,10,15,20,25,30,35,40,45,50,55 * * * *    /usr/lib/atrun
  52.  
  53. # Run gnewrrun, Clean up GNEWS logs and kill stuff over 10 days old
  54. 08 00 * * * gnewslog
  55. 10 00 * * * gnewsexp 10
  56. 15 4,5,6,7,8,10,11,12,14,16,18,20,22 * * * gnewsrun
  57. -------------
  58.  
  59. And my /usr/spool/cron/crontabs/uucp should look like this:
  60.  
  61. ---------------------
  62. #/usr/spool/cron/crontabs/uucp 8/22/92
  63.  
  64. # Clean uucp logs at 0001 every day.
  65. 01 00 * * * /usr/lib/uucp/uumvlog 1
  66. 05 00 * * * /usr/lib/uucp/uutraffic
  67.  
  68. # monitor /usr/spool/uucp for outgoing stuff and transmit
  69. 24,54 * * * *      /usr/bin/uumonitor
  70.  
  71. # Conditionally poll sites
  72. 19 1 * * 3   /usr/lib/uucp/uucico -smwcbbs
  73. 40 1 * * 3   /usr/lib/uucp/uucico -santares
  74. 30 2 * * 3   uucp mwcbbs!/usr/spool/uucppublic/mwcnews/news ~/
  75. -------------------------
  76.  
  77. I deleted the old /usr/lib/crontab and used the new ones and nothing
  78. is working???????
  79.  
  80. Any suggestions on how to get this to work???
  81.  
  82. GNEWSRUN, GNEWSEXP and GNEWSLOG all are now compiled to be 386
  83. executables, and all run from the root command line and work fine
  84. (and fast), but I am back to running the 286 versions until all of
  85. this stuff is cleared up.
  86.  
  87. As an FYI, TASS for GNEWS is also recompiled and working well under
  88. 386.  I have not gotten all of the bugs out of COMB yet under 386
  89. mode.
  90.  
  91. Thanks,
  92. ------
  93. Roger Barth - Cameron Park, California USA              Coherent 3.2
  94. neptons!roger@antares.intel.com                 916-677-9771 (voice)
  95. --------------------------------------------------------------------
  96.