PHP Classes

Periodic site maintenance: Perform several site maintenance tasks

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   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...
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: 62
All time rank: 502 in Russian Federation Russian Federation
Week rank: 53 Down4 in Russian Federation Russian Federation Down
Innovation award
Innovation award
Nominee: 16x

Winner: 2x

Screenshots (1)  
  • nightjobs-shot.png
  Files folder image Files (7)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:790
This week:0
All time:4,320
This week:488Up
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:2869
 
Clean code, nice concept.
15 years ago (F Philip DeGeorge)
80%StarStarStarStarStar