shell: add a maximum execution time on screen tasks

This commit is contained in:
Tanguy Pruvot 2015-07-20 20:54:57 +02:00
parent ef7a5ba911
commit 3d2581b4f4
3 changed files with 6 additions and 0 deletions

View file

@ -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

View file

@ -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

View file

@ -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