I would like to ask questions about the execution of bat files for scheduled tasks, which is mainly used to regularly update the server database.
Source: Internet
Author: User
For more information about the execution of bat files for scheduled tasks, I used to regularly update the server database. I wrote a simple bat file, starthttp: // 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. I manually click B to ask questions about the execution of bat files for scheduled tasks. it 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?
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.