doulaopu2343 2009-12-29 08:16 采纳率: 100%
浏览 37

在Windows Server 2003中设置cronjob /预定任务? Php和Mysql

I would like to set a scheduled task/cron job to update database. I planning updating the database using a php script, i.e connect to database and execute SELECT and UPDATE query. I already prepared the php script, and what should I do next?

I am (my server) is using Windows Server 2003, IIS, php and mysql.

When I google this, I got tons of results, and its confusing me. Is there any quick explanation of what should I do (step-by-step)?

(Please let me know what are the others information you need to know)

  • 写回答

1条回答 默认 最新

  • dongqianchi0512 2009-12-29 09:04
    关注

    In windows schedule task, define a task to download a file(http://127.0.0.1/autotask.php) every day (or minute)

    then put your code in autotask.php

    评论

报告相同问题?

悬赏问题

  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度