Implementation of stopping php in windows command line cmd

Source: Internet
Author: User
In Windows, you can use php.exe to execute the php file and write the command to bat for scheduled execution. this is probably more reliable than the browser's timed refreshing. the code is as follows: php.exe is in the path of the PHP file to be executed. for example, D: how to run php under windows command line cmd

In Windows, you can use php.exe to execute the php file, and then write the command to bat for scheduled execution, which is much more reliable than the browser's scheduled refresh. the code is as follows:

Php.exe path: PHP file to be executed

You can.

For example:

D: \ website \ APMServ5.2.0 \ PHP \ php.exe D: \ website \ APMServ5.2.0 \ www \ htdocs \ phpinfo. php

?

Save it as a bat file and you can use windows scheduled tasks for scheduled execution.

Shut down the php.exe run, you can use the-h parameter to view at any time. thanks to the small orange light classification information network http://www.xiaojudeng.com original supply.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.