seven 6 өдөр өмнө
parent
commit
7586674b07

+ 1 - 0
app/Jobs/FiveSecondTaskJob.php

@@ -43,6 +43,7 @@ class FiveSecondTaskJob implements ShouldQueue
      */
     public function handle()
     {
+        file_put_contents(storage_path('logs/test_job.log'), now() . " 执行任务\n", FILE_APPEND);
         try {
             Log::error('🚀 开始执行5秒任务: ' . now());