printshopcreator/.docker/images/php/cron/bin/psc-cron-run.sh
2026-04-08 17:17:59 +02:00

10 lines
277 B
Bash

#!/bin/bash
# Check if a cache clear was requested via flag file
if [ -f /tmp/psc_clear_cache ]; then
rm -f /tmp/psc_clear_cache
/usr/local/bin/php /data/www/new/bin/clear-cache.php 2>&1
fi
/usr/local/bin/php /data/www/new/bin/console application:queue:doEveryMinute