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 This week: 1All time: 4,318 This week: 560Up
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: 20 packages by
Country: Russian Federation Russian Federation
Age: 61
All time rank: 502 in Russian Federation Russian Federation
Week rank: 109 Down7 in Russian Federation Russian Federation Down
Innovation award
Innovation award
Nominee: 16x

Winner: 2x

Screenshots  
  • 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 as_nightjobs.fr.htm Doc. Documentation (french) - thanks to P.Gohier
Accessible without login HTML file as_nightjobs.ru.htm Doc. Documentation (russian)
Accessible without login Plain text file job_sample.php Example using sample

 Version Control Unique User Downloads Download Rankings  
 0%
Total:790
This week:1
All time:4,318
This week:560Up
User Ratings User Comments (1)
 All time
Utility:58%StarStarStar
Consistency:75%StarStarStarStar
Documentation:75%StarStarStarStar
Examples:50%StarStarStar
Tests:-
Videos:-
Overall:49%StarStarStar
Rank:2824
 
Clean code, nice concept.
15 years ago (F Philip DeGeorge)
80%StarStarStarStarStar