我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

如何在Windows中执行不可见的计划任务?

I have a piece of PHP code running on Windows that I have scheduled to run after every hour using Windows Task Scheduler. The problem is that the command line opens up everytime the code is run, whereas I was the execution to happen invisibly. Is there a way to do that?

http://docs.php.net/install.windows.manual

The PHP package structure and content
[...]
|-php-win.exe                -- executes scripts without an opened command prompt

So, instead of php.exe use php-win.exe

近期文章

  • PHPExcel - 读取linux centos上的单元格值,产生额外的字符
  • 使用html在javascript中生成动态下拉框
  • 试图将数据发布到php但数据未正确读取
  • PHP动态更改文件名
  • 使用PHP / Net_Gearman的Gearman,执行从其他工作人员调用的工作的工作人员变得没有响应
  • 帐户激活的最佳方式
  • 使用PHP / Linux连接到MQ
  • MySQLi查询无法正常工作
  • 找不到肥皂功能
  • XQuery选择查询无法正常工作
  • 无法创建文件夹
  • 从不同文件访问相同SESSION变量的问题
  • 在jquery post之后调用另一个php函数
  • 转换函数已弃用(ereg,ereg_replace,eregi,eregi_replace,split)
  • PHP shell_exec()导致txt文件?
  • 用参数调用Symfony中的过滤器
  • Azure:使用PHP作为WebRole并使用c#作为WorkRole? 如何打包服务包?
  • 是否可以让VLC使用Lua自动重新读取歌曲之间的XSPF文件?
  • 在MySQL查询中使用会话
  • PHP读取数组和对象

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华