Lunarpages Web Hosting Forum

Author Topic: "tmpwatch" module  (Read 2340 times)

Offline Waidesworld

  • Pong! (the videogame) Master
  • *****
  • Posts: 27
"tmpwatch" module
« on: June 01, 2004, 11:25:59 AM »
Is this module included in the installed modules.  I didn't see it.  I wish to purge old files from a directopry every seven days and was hoping there was an easy way to do it.

Offline w98

  • Galactic Royalty
  • *****
  • Posts: 443
    • http://iandouglas.com
"tmpwatch" module
« Reply #1 on: June 02, 2004, 10:58:04 AM »
Do you want to purge files every 7th day, ie every Saturday, or just delete files that are 7 days old?

Either way, you could write a Perl script to launch via cron to do the trick if tmpwatch isn't installed.

Offline Waidesworld

  • Pong! (the videogame) Master
  • *****
  • Posts: 27
"tmpwatch" module
« Reply #2 on: June 02, 2004, 10:59:52 AM »
I posted a script this morning.  Thanks :yey:  for the response though.