【发布时间】:2017-09-26 08:48:51
【问题描述】:
我想用 while(1) 循环创建一个 bat 文件并用 windows 任务计划执行它。应该是这样的:
While (1)
D:\wamp64\bin\php\php5.6.25\php.exe -f D:\wamp64\www\nmedica\index.php external python
有什么想法吗?
【问题讨论】:
-
你试过了吗?它有效吗?你有错误吗?你的问题是什么?顺便说一句,
While (1)不会让它成为一个无限循环吗? -
@MagnusEriksson - 如果批处理有
while循环,它会... -
for /L %%i in () do D:\wamp64\... -
@SomethingDark 啊。 20 多年没有制作 bat 文件了。 :-) 那么我的“想法”是 OP 应该在谷歌上搜索教程。
标签: php batch-file windows-10