For more information about the execution of bat files for scheduled tasks, I wrote a simple bat file named starthttp: localhostjusaasindex. php .... method name. I want to regularly execute this method to update my database, but when I set a scheduled task on the server (the server is win2003), it is not possible. When I manually click the bat file, I can execute the bat file. However, I would like to ask you about the execution of bat files for scheduled tasks, which is mainly used to regularly update the server database.
I wrote a simple bat file, namely start http: // localhost/jusaas/index. php /.... method name. I want to regularly execute this method to update my database, but when I set a scheduled task on the server (the server is win2003), it is not possible. When I manually click the bat file, I can execute the bat file. However, if I use a scheduled task to be executed after two minutes, the task will not be executed. Then I asked the scheduled task to execute the task of opening the browser. It was also two minutes later, but it was not executed, xp works, but the server does not. I have opened all kinds of services, and I have avoided common problems. now I don't know where the problem is. I hope I can come up with a high hand and check my post continuously. 100 --
------ Solution --------------------
Php command line
------ Solution --------------------
If the task is not executed, an error is prompted,
If you go to windows, you may be more professional. Why can't you wake up when you plan a task?