add functions to utilities so that they can run scheduled maintenance tasks
finish infrastructure for scheduled tasks