Jarvis Panel

Servers

Workers

Workers are long-running background processes, such as Laravel queue workers or a Node.js script, run by Supervisor.

Workers need the Supervisor service. It's installed on App server and Worker servers by default. On other servers, install it from Services.

Open a server and select Workers in the sidebar to see every worker on the server. A site's own workers are also listed under Workers in that site's sidebar.

Create a worker

  1. Click Create.
  2. Fill in the form:
Field Description
Name A label for the worker, for example queue-default.
Command The command to keep running, for example php artisan queue:work. php uses the default CLI version. For a specific version, use the full path, such as /usr/bin/php8.4.
Belongs to Server, or the site the worker runs for.
User The server user the process runs as.
Number of processes How many copies of the command to run at once.
Auto start Start the worker when Supervisor starts, for example after a reboot.
Auto restart Restart the worker when it exits.
  1. Click Save.

Manage a worker

Open the actions menu on a worker to:

  • Edit its settings.
  • Start, Stop, or Restart it. Restart workers after deploying new code so they load it.
  • Logs: view the worker's output.
  • Delete it. This can't be undone.

Refresh statuses

Click the refresh button to read each worker's current status from the server.

Statuses

Status Meaning
Creating The worker is being set up.
Running The worker is running.
Starting, Stopping, Restarting The action is in progress.
Stopped The worker isn't running.
Failed The worker couldn't start. Check its logs.
Deleting The worker is being removed.