# Alternative: Manual Cron Setup via User Crontab

Since cron isn't installed in this container, here are the options:

## Option 1: Install cron (if you have root)
```bash
sudo apt-get update
sudo apt-get install cron
```

Then run the setup commands I provided earlier.

## Option 2: systemd (preferred in this environment)
I've created the service files at `/workspace/systemd/`

To enable (you'll need root access):
```bash
# Link service files
sudo systemctl link /workspace/systemd/wallpaper-generation.service /etc/systemd/system/
sudo systemctl link /workspace/systemd/wallpaper-generation.timer /etc/systemd/system/

# Reload systemd
sudo systemctl daemon-reload

# Enable and start timer
sudo systemctl enable wallpaper-generation.timer
sudo systemctl start wallpaper-generation.timer

# Check it's running
sudo systemctl status wallpaper-generation.timer
```

## Option 3: External cron (from host system)
If you have access to the host system's crontab, add:

```bash
0 9 * * * /workspace/group/neoncyber/scripts/auto-daily.sh
```

## Option 4: Manual trigger for now (no automation)
Until we can set up proper automation, run manually:

```bash
# Run now
bash /workspace/group/neoncyber/scripts/auto-daily.sh

# Or with specific theme
bash /workspace/group/neoncyber/scripts/daily-generation.sh glitch
```

## For Testing Without Automation

Test the automation workflow manually:

### Day 1:
```bash
bash /workspace/group/neoncyber/scripts/auto-daily.sh
# Opens gallery at http://localhost:8765
# Rate the results
```

### Day 2:
```bash
# Review Day 1 results, note winners
bash /workspace/group/neoncyber/scripts/auto-daily.sh
# Rate new results
```

Repeat daily to simulate automation until proper cron/systemd is set up.

## Current Status

✅ Scripts created and tested
✅ Systemd service files ready
⏳ Cron/systemd setup requires root access
⏳ Or configure from host system

For now, you can run the auto-daily.sh script manually each day to simulate the automation. The workflow is identical — just not automatic.