PHP Classes

Periodic site maintenance: Perform several site maintenance tasks

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 49%Total: 790 All time: 4,320 This week: 488Up
Version Licenses PHP version Categories
as_nightjobs 1.00BSD License, GNU ...4.3Databases, Files and Folders, Systems...


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: 20 packages by
Country: Russian Federation Russian Federation
Age: 61
All time rank: 502 in Russian Federation Russian Federation
Week rank: 28 Up1 in Russian Federation Russian Federation Up
Innovation award
Innovation award
Nominee: 16x

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  
This week:0
All time:4,320
This week:488Up
User Ratings User Comments (1)
 All time
Clean code, nice concept.
15 years ago (F Philip DeGeorge)