Background Processes
Create background process
Create a new background process from a template.
Processing mode: <small><code>async</code></small>
post/orgs/{organization}/servers/{server}/background-processes
Path parameters
organizationstring required
The organization slug
serverinteger required
The server ID
Request body
Example request
{
"name": "Custom command runner",
"site_id": 12345,
"command": "php artisan custom:command",
"user": "forge",
"directory": "/home/forge/my-site.com/current/",
"processes": 1,
"startsecs": 10,
"stopwaitsecs": 10,
"stopsignal": "SIGTERM"
}Response
BackgroundProcessResource