mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-09-20 18:09:54 +00:00
shell: add a maximum execution time on screen tasks
This commit is contained in:
parent
ef7a5ba911
commit
3d2581b4f4
3 changed files with 6 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
alias php5='php -d max_execution_time=60'
|
||||||
|
|
||||||
cd /var/web
|
cd /var/web
|
||||||
while true; do
|
while true; do
|
||||||
php5 run.php cronjob/runblocks
|
php5 run.php cronjob/runblocks
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
alias php5='php -d max_execution_time=120'
|
||||||
|
|
||||||
cd /var/web
|
cd /var/web
|
||||||
while true; do
|
while true; do
|
||||||
php5 run.php cronjob/runloop2
|
php5 run.php cronjob/runloop2
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
alias php5='php -d max_execution_time=120'
|
||||||
|
|
||||||
cd /var/web
|
cd /var/web
|
||||||
while true; do
|
while true; do
|
||||||
php5 run.php cronjob/run
|
php5 run.php cronjob/run
|
||||||
|
|
Loading…
Add table
Reference in a new issue