home *** CD-ROM | disk | FTP | other *** search
/ Amiga Times / AmigaTimes.iso / programme / trionbbs110 / Trion / scripts / maintenance < prev    next >
Encoding:
Text File  |  1998-10-06  |  832 b   |  44 lines

  1.  
  2. ;;;  Maintenance script .. just start once a day
  3. ;;;  preferable at night with a Cron util
  4.  
  5.  
  6. Attention "Maint: Script started" -o
  7. trion -m -a -x "Maintenance script started, system can be a little slower"
  8.  
  9. ;;;  Proces Mail
  10.  
  11. ; trion:utils/tmp -u -b
  12. ; trion:utils/tmp -p
  13.  
  14.  
  15. ;;;  Make Allfiles
  16.  
  17. Attention "Maint: making allfiles"
  18. trion:utils/taf
  19.  
  20. ;;;  Things you tend to forget :)
  21.  
  22. Attention "Maint: compiling menus"
  23. trion:utils/menu #?.src
  24.  
  25. ;;;  Make sure Logs don't grow to big
  26.  
  27. Attention "Maint: Trimming logs"
  28. TTrimLogs
  29.  
  30. ;;;  Delete mail of points and/or nodes who didn't poll for more than 14 days.
  31.  
  32. ;KillOldMail  14
  33.  
  34. ;;; Make a screen of Top Down/Uploaders
  35.  
  36. Attention "Maint: Making user stats"
  37. topdl >trion:text/topdl.ansi
  38. ScanUserStats
  39.  
  40.  
  41. trion -m -a -x "Maintenance script is Finished !"
  42. Attention "Maint: Script finished" -q
  43.  
  44.