Browse Source

Update story garbage collection

Daniel Supernault 4 năm trước cách đây
mục cha
commit
e8e249ce31
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      app/Console/Commands/StoryGC.php

+ 2 - 2
app/Console/Commands/StoryGC.php

@@ -48,9 +48,9 @@ class StoryGC extends Command
 
 	protected function directoryScan()
 	{
-		$hour = now()->hour;
+		$day = now()->day;
 
-		if($hour !== 1) {
+		if($day !== 3) {
 			return;
 		}