You are here

README.txt in Cleaner 5

Same filename and directory in other branches
  1. 6 README.txt
INTRODUCTION
------------
The Cleaner module allows the admin to set a schedule for clearing caches, watchdog, and old sessions.

There are function in Drupal which will cause "expired" entries in some cache tables to be deleted.
This is vastly improved in Drupal 6. "Minimum_cache_liftime" is a partial solution, but still not
totally complete. 

There are still times and/or cache tables that don't get cleared in any of those scenarios. Many
sites will not be impacted by this, but a few will (just search on drupal.org and you will see many
posts from people having problems).

INSTALLATION
------------
Standard module installation applies.

SETTINGS
--------
The module will do nothing until you enable its clearing functions (for your own protection).

The module settings can be found at Administer >> Site configuration >> Cleaner.

1. Select the frequency (interval) at which it will run. Note that the Cron settings may change
   the actual frequency of execution.
2. Select which clearing functions you desire.

LOGGING
-------
This module will log its actions.

EXTENDING THE MODULE
--------------------
This module can be hooked into to extend its functionality.
I'm not sure why you would want to do this rather than code your own, but it's there.

hook_cleaner_settings()
  Returns the useful part of a settings form as a keyed array, with the key being the module name.
  See cleaner_cleaner_settings().

hook_cleaner_run()
  Called when Cron triggers the site (run-time).
  There are no calling parameters or returns.
  See cleaner_cleaner_run().

File

README.txt
View source
  1. INTRODUCTION
  2. ------------
  3. The Cleaner module allows the admin to set a schedule for clearing caches, watchdog, and old sessions.
  4. There are function in Drupal which will cause "expired" entries in some cache tables to be deleted.
  5. This is vastly improved in Drupal 6. "Minimum_cache_liftime" is a partial solution, but still not
  6. totally complete.
  7. There are still times and/or cache tables that don't get cleared in any of those scenarios. Many
  8. sites will not be impacted by this, but a few will (just search on drupal.org and you will see many
  9. posts from people having problems).
  10. INSTALLATION
  11. ------------
  12. Standard module installation applies.
  13. SETTINGS
  14. --------
  15. The module will do nothing until you enable its clearing functions (for your own protection).
  16. The module settings can be found at Administer >> Site configuration >> Cleaner.
  17. 1. Select the frequency (interval) at which it will run. Note that the Cron settings may change
  18. the actual frequency of execution.
  19. 2. Select which clearing functions you desire.
  20. LOGGING
  21. -------
  22. This module will log its actions.
  23. EXTENDING THE MODULE
  24. --------------------
  25. This module can be hooked into to extend its functionality.
  26. I'm not sure why you would want to do this rather than code your own, but it's there.
  27. hook_cleaner_settings()
  28. Returns the useful part of a settings form as a keyed array, with the key being the module name.
  29. See cleaner_cleaner_settings().
  30. hook_cleaner_run()
  31. Called when Cron triggers the site (run-time).
  32. There are no calling parameters or returns.
  33. See cleaner_cleaner_run().