Summary: Run long-running scans in the background and manage them with the jobs command.Background Jobs
Long-running scans or commands can be executed in the background, allowing you to continue using the pwnity shell without interruption.
Starting a Background Job
To start a command as a background job, simply append bg to your pwn command instead of now.
Example:
pwn full-scan bg
pwnity will immediately return the prompt to you, and the job will run in the background.
Managing Jobs
You can manage your background jobs with the jobs command:
jobs list: Shows a table of all running and finished jobs with their ID, status, and duration.jobs show <id>: Displays the complete output of a specific job.jobs kill <id>: Terminates a job that is currently running.jobs clear: Removes all finished, failed, or killed jobs from the list to keep it clean.
Completion Notifications
When a background job finishes, fails, or is killed, a summary panel will automatically be displayed in the console, informing you of the outcome. This ensures you never miss when a long task is complete.