Create a .bat file in windows to run a looping command sometimes needed for php to execute a script without apache memory limit and execution time is not implemented here
Create a .bat file in windows to run a looping command sometimes needed for php to execute a script without apache memory limit and execution time is not implemented here
@echo off
setlocal enableextensions enabledelayedexpansion
set /a "x = 0"
:while1
if %x% leq 5 (
echo %x%
php c:\wamp\www\deamon.php
timeout 1
set /a "x = x + 0"
goto :while1
)
endlocal
@echo off
setlocal enableextensions enabledelayedexpansion
set /a "x = 0"
:while1
if %x% leq 5 (
echo %x%
php c:\wamp\www\deamon.php
timeout 1
set /a "x = x + 0"
goto :while1
)
endlocal
Comments
Post a Comment