Move processed TIC files into Y/M/D heirarchy, consistent with packets
This commit is contained in:
parent
06c29d8750
commit
a0b6df31f0
@ -76,7 +76,7 @@ class TicProcess implements ShouldQueue
|
|||||||
Log::info(sprintf('%s:= Processed [%s] storing [%s] as id [%d]',self::LOGKEY,$this->file,$to->file->name,$to->file->id));
|
Log::info(sprintf('%s:= Processed [%s] storing [%s] as id [%d]',self::LOGKEY,$this->file,$to->file->name,$to->file->id));
|
||||||
|
|
||||||
if (config('fido.packet_keep')) {
|
if (config('fido.packet_keep')) {
|
||||||
$dir = sprintf('%s/%s',config('fido.dir'),Carbon::now()->format('Ymd'));
|
$dir = sprintf('%s/%s/%s/%s',config('fido.dir'),($x=Carbon::now())->format('Y'),$x->format('m'),$x->format('d'));
|
||||||
Log::debug(sprintf('%s:- Moving processed TIC [%s] to [%s]',self::LOGKEY,$rel_name,$dir));
|
Log::debug(sprintf('%s:- Moving processed TIC [%s] to [%s]',self::LOGKEY,$rel_name,$dir));
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user