Navigation

Search

scheduled_weekly_maintenance

Description

Performs various weekly maintenance tasks

Syntax

bool scheduled_weekly_maintenance ()



Return value

Expected type: Boolean
Description: Returns true upon successful completion


Notes

  • Deletes empty settings related to paid subscriptions and user warnings
  • Deletes specified temporary settings (by default, only 'attachment_full_notified')
  • Prunes various logs according to settings
  • Clears out paid subscribers who never did anything
  • Clears out sessions that are over a day old
View all versions of this function