Windows Bat检查php脚本是否运行
发布时间:2020-12-14 05:39:56 所属栏目:Windows 来源:网络整理
导读:我正在使用蝙蝠在win2003调度程序上运行php.有没有办法检查进程,看看文件是否仍在运行. 解决方法 这样的批处理文件如何:(伪代码,因为它已经有一段时间了) :makerandommake som random var,microtime,whatever,we call it %x%check if file exist,if it does,
我正在使用蝙蝠在win2003调度程序上运行php.有没有办法检查进程,看看文件是否仍在运行.
解决方法
这样的批处理文件如何:(伪代码,因为它已经有一段时间了)
:makerandom make som random var,microtime,whatever,we call it %x% check if file exist,if it does,goto makerandom call the script with %x% as argument :check if file exist %x% goto check :done 在PHP脚本中: create the file specified by the argument ... script here ... delete the file (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- .net – 如何保持ReadDirectoryChangesW缺少文件更改
- 运行Windows应用程序的实时操作系统替代品?
- Windows上的HTML5地理定位比Linux更准确(Firefox,Chrome,[C
- powershell – 使用WMI删除页面文件
- Windows与linux添加用户命令
- windows-server-2008-r2 – 如何创建任务计划程序以在Windo
- remote-desktop – 命令窗口缺少默认的8×12字体
- windows – Azure角色启动可以采取多长时间的硬限制?
- windows – cmd并行执行和终止
- 批处理文件 – 如何将今天的日期与文件的上次修改日期进行比
推荐文章
站长推荐
- windows-7 – Skype for Business的聊天记录存储
- 安装 – 如何在Windows Server 2008上安装Hudson
- 带有API的Windows Server 2008防病毒软件
- Windows KTM和Transactional NTFS是否有Linux /
- window10下pytorch和torchvision CPU版本安装
- win10激活错误,软件授权服务报告无法激活计算机怎
- 我想在Windows功能中启用Hyper-V,但没有Hyper-V选
- windows-server-2008 – 从快照启动AWS Windows实
- “允许计算机关闭此设备以节省电量” – Windows
- windows – 在`shift`之后使用`%*`
热点阅读