#!/bin/bash

# Path to your Laravel project
PROJECT_DIR="/home/hzlyfbzf/public_html/etkezes"

# Path to PHP binary
PHP_BIN="/usr/local/bin/php"

# Change to the Laravel project directory
cd $PROJECT_DIR

# Run the Laravel schedule:run command
$PHP_BIN artisan schedule:run >> /dev/null 2>&1

# Optional: Log success (you can customize this or remove it)
# echo "$(date): Laravel scheduled tasks executed" >> $PROJECT_DIR/schedule_task.log

