Class CleanupDataTask
Cleanup data task
- Shell
- BeditaBaseShell
- CleanupDataTask
Located at vendors/shells/tasks/cleanup_data.php
Methods summary
public
|
|
public
|
#
execute( )
Tables to clean (truncate or delete data): - event_logs (truncate) - mail_logs (truncate) - history (cleanup: mantain only "CY-1 / CY" data (CY is the Current Year)) - mail_jobs (cleanup: mantain only "CY-1 / CY" data (CY is the Current Year)) - versions (cleanup: mantain only "CY-1 / CY" data (CY is the Current Year)) |
protected
|
|
protected
|
|
protected
|
Methods inherited from BeditaBaseShell
__clean()
,
__construct()
,
checkDir()
,
checkExportFile()
,
checkUrl()
,
check_sys_get_temp_dir()
,
cleanTempDir()
,
handleExceptions()
,
initConfig()
,
initialize()
,
isUrl()
,
mandatoryArgument()
,
readInputArgs()
,
setupTempDir()
,
startup()
,
test()
,
title()
,
verbose()
Properties summary
public
array
|
$uses
|
#
['BEObject']
|
protected
array
|
$truncateTables
|
#
['event_logs', 'mail_logs']
|
protected
array
|
$cleanupTables
|
#
['history', 'mail_jobs', 'versions']
|
Magic properties
public
BEobject
|
$BEobject
|