resume-campaign

Solid

Resume a paused JobPilot campaign by id. Re-flips the campaign to in_progress and replays the apply loop on any remaining approved jobs without re-asking for fit confirmation.

AI & Automation 67 stars 17 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 84/100

Stars 20%
61
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Resume Campaign - Continue a Paused Campaign Resumes a `paused` Campaign by replaying the apply loop on jobs that are still `approved` (or `pending` if approval was implicit). The user already approved the fit when the campaign was first launched, so no re-confirmation gate. Live view: `$JOBPILOT_WEB/campaigns/<campaign-id>`. ## Setup Follow `../_shared/setup.md` to load profile, resume, credentials - its health check aborts with the standard message if the backend is unreachable. ## Phase 0: Resolve Campaign Argument is `<campaign-id>`. If missing, list candidates and ask: ```bash curl -fsS -H "authorization: Bearer $JOBPILOT_API_TOKEN" "$JOBPILOT_API/api/campaigns" \ | jq -r '.items[] | select(.status=="paused") | "\(.campaignId)\t\(.status)\t\(.source)\t\(.query)"' ``` Fetch the campaign + jobs: ```bash CAMPAIGN_ID="<campaign-id>" CAMPAIGN=$(curl -fsS -H "authorization: Bearer $JOBPILOT_API_TOKEN" "$JOBPILOT_API/api/campaigns/$CAMPAIGN_ID") JOBS=$(curl -fsS -H "authorization: Bearer $JOBPILOT_API_TOKEN" "$JOBPILOT_API/api/campaigns/$CAMPAIGN_ID/jobs?page=1&limit=100") ``` Verify status is `paused`. If `completed` or `failed`, stop: **"Campaign <id> is already <status>. Nothing to resume."** If `in_progress`, stop: **"Campaign <id> is still in progress. Stop the campaign from the UI first."** Refuse to resume if there are no resumable jobs (`approved`, `pending`, or `applying`): ```bash RESUMABLE=$(echo "$JOBS" | jq '[.items[] | select(.status=="a...

Details

Author
suxrobGM
Repository
suxrobGM/jobpilot
Created
5 months ago
Last Updated
yesterday
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category