Scheduled Commands
Create scheduled command
Schedule a new command to run on an instance.
post/instances/{instance}/scheduled-commands
Request
- Base URLhttps://cloud.laravel.com/api
- AuthHTTP bearer
Path parameters
instancestring required
The instance identifier
Request body
Example request
{
"name": "Prune stale models",
"command": "php artisan model:prune",
"schedule": "0 0 * * *"
}Response
ScheduledCommandResource
Changes
No recorded changes to this operation across all 1 revision of this API.