#!/bin/bash

# Laravel Scheduler Runner for Linux Server
# This should run every minute via cron

# Set project directory (adjust this path for your production server)
PROJECT_DIR="/var/www/perling"

# Change to project directory
cd "$PROJECT_DIR"

# Run Laravel scheduler
php artisan schedule:run >> storage/logs/scheduler.log 2>&1
