review-bench/andresharpe_dotbot/setup-background-job
Claude Code and agent skill by review-bench/andresharpe_dotbot
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Set up scheduled background jobs using Quartz.NET with proper configuration, error handling, and dependency injection
Install
npx vskill@latest install review-bench/andresharpe_dotbot/setup-background-jobSKILL.md
Setup Background Job
Guide for creating scheduled background jobs using Quartz.NET.
When to Use
- Periodic tasks (email polling, data sync, cleanup)
- Scheduled operations (daily reports, reminders)
- Recurring background processing
- Cron-based job scheduling
Job Implementation
Job Registration
Cron Expressions
Common patterns:
Format: second minute hour day-of-month month day-of-week
Job Data
Pass parameters to jobs:
Error Handling
Job Control
Pause/Resume
Trigger Immediately
Remove Job
Best Practices
- Dependency Injection - Use DI for services
- Idempotent - Jobs should be safe to run multiple times
- Logging - Log start, completion, and errors
- Timeout - Consider job execution timeout
- Overlap - Prevent concurrent executions if needed
- Configuration - Use appsettings for schedules
Preventing Concurrent Execution
Job Persistence
For production, use persistent job store:
Common Pitfalls
- ❌ Not handling exceptions properly
- ❌ Long-running jobs blocking other jobs
- ❌ Not using DisallowConcurrentExecution when needed
- ❌ Hardcoding schedules instead of configuration
- ❌ Not logging job execution
- ❌ Forgetting to register job with DI
Checklist
- [ ] Job class implements IJob
- [ ] Dependencies injected via constructor
- [ ] Error handling implemented
- [ ] Logging added (start/complete/error)
- [ ] Job registered with Quartz
- [ ] Trigger configured with correct schedule
- [ ] Cron expression tested
- [ ] DisallowConcurrentExecution if needed
- [ ] Configuration externalized
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingstacks/dotnet/recipes/skills/setup-background-job/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/review-bench/andresharpe_dotbot/setup-background-job)