Browse Source

命令执行推荐

龙飞 10 months ago
parent
commit
7c526cda75
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      README.md

+ 7
- 0
README.md View File

@@ -53,6 +53,13 @@ class MeetingSyncService extends SyncService
53 53
     }
54 54
 ```
55 55
 
56
+步骤四: 执行命令
57
+
58
+可以使用 `php artisan  xxxxx` 执行第三步定义的命令
59
+
60
+但是, 这里推荐使用 Schedule 执行命令, 参考laravel文档, 用一个cron命令管理项目中所有自动执行的命令
61
+`php artisan schedule:run`
62
+
56 63
 
57 64
 ### 服务端代码
58 65