|
| $name = 'Product Changelog Maintenance' |
|
| $description |
|
| $default_schedule |
|
| $name = 'Fannie Task' |
|
| $description = 'Information about the task' |
|
| $default_schedule |
|
| $schedulable = true |
|
const | TASK_NO_ERROR = 0 |
|
const | TASK_TRIVIAL_ERROR = 1 |
|
const | TASK_SMALL_ERROR = 2 |
|
const | TASK_MEDIUM_ERROR = 3 |
|
const | TASK_LARGE_ERROR = 4 |
|
const | TASK_WORST_ERROR = 5 |
|
|
| $error_threshold = 99 |
|
| $config = null |
|
| $logger = null |
|
| $options = array() |
|
| $arguments = array() |
|
ProdUpdateMaintenanceTask::run |
( |
) | |
|
New method:
- Lookup the last prodUpdate record ID added to the price history
- Scan newer prodUpdate records for price changes
- Repeat for department history/changes
- Do not use prodUpdateArchive
old method:
- Scan prodUpdate for changes
- Log changes in history table
- Move prodUpdate records into prodUpdateArchive
ProdUpdateMaintenanceTask::$default_schedule |
Initial value:= array(
'min' => 0,
'hour' => 3,
'day' => '*',
'month' => '*',
'weekday' => '*',
)
ProdUpdateMaintenanceTask::$description |
Initial value:= 'Scans product update history for
changes to department and/or price and files those changes
separately for quick reference.
Deprecated the old CompressProdUpdate jobs. Do not schedule both
this and the older jobs - especially CompressProdUpdate/archive.php.'
The documentation for this class was generated from the following file:
- fannie/cron/tasks/ProdUpdateMaintenanceTask.php