mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-08-23 17:37:25 +00:00
also remove the need of hardcoded folders in these scripts (/var/web) and the script alias which doesnt work on all bash systems
16 lines
249 B
Bash
Executable file
16 lines
249 B
Bash
Executable file
#!/bin/bash
|
|
|
|
PHP_CLI='php -d max_execution_time=120'
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
cd ${DIR}
|
|
|
|
date
|
|
echo started in ${DIR}
|
|
|
|
while true; do
|
|
${PHP_CLI} runconsole.php cronjob/runLoop2
|
|
sleep 60
|
|
done
|
|
exec bash
|
|
|