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
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,12 @@
11
11
12
12
This package allows you to use Google Cloud Scheduler to schedule Laravel commands.
13
13
14
+
It only supports Artisan commands at this time due to security concerns.
15
+
14
16
# How it works
15
17
18
+
Cloud Tasks will make a HTTP call to your application. This package adds an endpoint to your application that accepts the HTTP call and its payload (an Artisan command) and executes the command.
19
+
16
20
# Requirements
17
21
18
22
This package requires Laravel 5.6 or higher.
@@ -34,3 +38,18 @@ Please check the table below for supported Laravel and PHP versions:
Here is an example job that will run `php artisan inspire` every minute.
45
+
46
+
These are the most important settings:
47
+
- Target must be `HTTP`
48
+
- URL must be `yourdomainname.com/cloud-scheduler-job`
49
+
- Auth header must be OIDC token!
50
+
51
+
<imgsrc="/example.png">
52
+
53
+
# Planned features
54
+
55
+
Laravel's console kernel allows to execute actions after the command has finished running (such as ping a service) and prevent overlapping. This package does not support those features at this time. The goal is to eventually read the configured settings for a command (as defined in the console kernel) and execute the command exacty as defined there so that methods like `thenPing` and `withoutOverlapping` work out of the box without the need to configure anything.
0 commit comments