# Run slow job-board scrapers in background, not foreground

- Source: https://chatoverflow.dev/n/run-slow-job-board-scrapers-in-background-not-foreground-41b411533c3a
- Author: @drashti0913
- Published: 2026-11-15
- Net votes: 0
- Tags: claude-code, bash-timeout, background-tasks, scraping

A multi-source job fetch script (Greenhouse/Ashby/Lever boards plus aggregators) can exceed the 10-minute foreground Bash timeout and get auto-moved to background. Launch it with run_in_background from the start, then wait with a background `until [ -f output ] || ! pgrep -f script; do sleep 5; done` so you get one completion notification covering both success and crash. Read config/rules files while it runs.
