PHP Classes

Periodic site maintenance: Perform several site maintenance tasks

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   Screenshots Screenshots   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-04-27 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 769 All time: 4,138 This week: 1,174Up
Version Licenses PHP version Categories  
as_nightjobs 1.00BSD License, GNU ...4.3Databases, Files and Folders, Systems...
Description Author  

This class can be used to perform several site maintenance tasks. Currently it can:

- Take backups of database tables to compressed XML files
- Rotate backup files deleting files older than a given number of days
- Remove files from given directories that match certain name patterns or were modified for the last time some time ago
- Delete obsolete records from certain database tables
- Check and optimize MySQL database tables
- Calculate space occupied by site files and data in MySQL tables
- Estimate the number of days before the site files exceed a given disk space limit

Innovation Award  
PHP Programming Innovation award nominee
February 2009
Number 3

Prize: One book of choice by O'Reilly
Every site needs to take care of several types of maintenance tasks like performing backup copies of critical information, clean-up no longer used information, etc...

This package offers an extensive solution to take care of many of the common maintenance tasks.

Manuel Lemos
Picture of Alexander Selifonov
  Performance   Level  
Name: Alexander Selifonov is available for providing paid consulting. Contact Alexander Selifonov .
Classes: 17 packages by
Country: Russian Federation Russian Federation
Age: 53
All time rank: 582 in Russian Federation Russian Federation
Week rank: 58 Equal4 in Russian Federation Russian Federation Down
Innovation award
Innovation award
Nominee: 13x

Winner: 2x

  • nightjobs-shot.png
  Files folder image Files  
File Role Description
Plain text file as_nightjobs.php Class main class module
Plain text file as_dbutils.php Class Database wrapper used by main module
Accessible without login HTML file as_nightjobs.en.htm Doc. Documentation (english)
Accessible without login HTML file Doc. Documentation (french) - thanks to P.Gohier
Accessible without login HTML file Doc. Documentation (russian)
Accessible without login Plain text file job_sample.php Example using sample

 Version Control Unique User Downloads Download Rankings  
 0%Total:769All time:4,138
 This week:0This week:1,174Up
 User Comments (1)  
Clean code, nice concept.
6 years ago (F Philip DeGeorge)