10 lines
277 B
Bash
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
|