You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-12Lines changed: 20 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ Manage your `Laravel Schedule` from a pretty dashboard. Schedule your `Laravel C
15
15
16
16
## Documentation
17
17
18
-
#### Installation
18
+
#### Installing
19
19
20
20
`Totem` requires Laravel v5.4 and above. Use composer to install totem to your Laravel project
21
21
@@ -45,6 +45,14 @@ php artisan migrate
45
45
php artisan totem:assets
46
46
```
47
47
48
+
#### Updating
49
+
50
+
Please republish totem assets after updating totem to a new version
51
+
52
+
```
53
+
php artisan totem:assets
54
+
```
55
+
48
56
#### Configuration
49
57
50
58
##### Cron Job
@@ -78,29 +86,29 @@ All artisan commands can be scheduled. If you want to hide a command from Totem
78
86
protected $hidden = true;
79
87
```
80
88
81
-
##### Use one of the following options if you are registering your commands in app/Console/Kernel in L5.4 and below
82
-
83
-
- Option 1 : Create a array variable, let's say `$artisanCommands` in your app/Providers/AppServiceProvider and list all your commands just like you would do in app/Console/Kernel class. Now in the register method add the following
89
+
From L5.5 onwards all commands are auto registered, so this wouldn't be a problem.
84
90
85
-
```
86
-
$this->commands($this->artisanCommands);
87
-
```
91
+
#### Console Command
88
92
89
-
- Option 2: Roll your own ConsoleServiceProvider in app/Providers, create a array variable, let's say `$artisanCommands` and list all your commands just like you would do in app/Console/Kernel class. Now in its register method add the following. Don't forget to add this new provider to config/app.php's providers array.
93
+
In addition to the dashboard, Totem provides an artisan command to view a list of scheduled task.
90
94
91
-
```
92
-
$this->commands($this->artisanCommands);
95
+
```
96
+
php artisan schedule:list
93
97
```
94
98
95
-
From L5.5 onwards all commands are auto registered, so this wouldn't be a problem.
0 commit comments