# ⚡ Quick Setup - cPanel Cron Job

## 🎯 Goal
Auto-publish scheduled posts every minute

## 📝 cPanel Cron Job Settings

### Timing:
```
Minute:  *
Hour:    *
Day:     *
Month:   *
Weekday: *
```

### Command (Pick ONE):

**Option 1 - PHP CLI (Best):**
```bash
/usr/bin/php /home/YOUR_USERNAME/public_html/xclone/cron/publish-scheduled-posts.php
```

**Option 2 - wget:**
```bash
wget -q -O - https://yourdomain.com/xclone/cron/publish-scheduled-posts.php >/dev/null 2>&1
```

**Option 3 - curl:**
```bash
curl -s https://yourdomain.com/xclone/cron/publish-scheduled-posts.php >/dev/null 2>&1
```

## ✅ Replace:
- `YOUR_USERNAME` → Your cPanel username
- `yourdomain.com` → Your domain name

## 🧪 Test:
Visit: `https://yourdomain.com/xclone/cron/publish-scheduled-posts.php`

## 📊 Check Logs:
File Manager → `public_html/xclone/logs/cron-publish.log`

## ⏰ Done!
Posts will auto-publish when scheduled time arrives!
