#!/bin/bash
set -e

[ -f /etc/profile.d/azure_env.sh ] && source /etc/profile.d/azure_env.sh

cd /var/www/html

echo "[$(date)] Running schedule:run" >> /var/log/cron.log
/usr/local/bin/php bin/console schedule:run >> /var/log/cron.log 2>&1
