mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-17 14:42:51 +00:00
no message
This commit is contained in:
parent
160c736b38
commit
ef7ed58a22
@ -86,7 +86,7 @@ class DeleteTmpTask extends AbstractTask
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
File::onlyTrashed()
|
File::onlyTrashed()
|
||||||
->where('deleted_at', '<', Carbon::now()->addDays($day))
|
->where('deleted_at', '<', Carbon::now()->subHours($day))
|
||||||
->orderBy('id')
|
->orderBy('id')
|
||||||
->chunk(500, function ($files) {
|
->chunk(500, function ($files) {
|
||||||
/** @var File $file */
|
/** @var File $file */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user