How to have garbage collection in web ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • unknown198790
    New Member
    • Jan 2010
    • 4

    #1

    How to have garbage collection in web ?

    Well in web server there will be many dormant content and inactive account user. These things will just occupy the space. So in order to free up the space i would like to develop a program that will automatically delete those above mention by using some various parameter.
    So please help me
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    you could write a script, that crawls through the directories and removes every file, whose atime or mtime exceeded the limit.

    Comment

    • unknown198790
      New Member
      • Jan 2010
      • 4

      #3
      only script is not workin? i tried other modules from drupal but these are little bit completed but any way thanks for the suggestion.
      lookin forward for more help

      Comment

      • Dormilich
        Recognized Expert Expert
        • Aug 2008
        • 8694

        #4
        only script is not workin?
        how should I know? are there any error messages?

        Comment

        • unknown198790
          New Member
          • Jan 2010
          • 4

          #5
          no but presently available account removal requires admin to control over the execution of that script so here i am planning to work that automatically

          Comment

          Working...