cron jobs or PHP scheduler

后端 未结 6 1789
星月不相逢
星月不相逢 2020-12-01 22:32

I am using MYSQL as my database and PHP as my programming language.I wanted to run a cron job which would run until the current system date matches the \"deadline(date)\" co

6条回答
  •  孤城傲影
    2020-12-01 23:03

    cron does not exist, per se, in vista, but what does exist is the standard windows scheduling manager which you can run with a command line like "php -q -f myfile.php" which will execute the php file at the given time.

    you can also use a port of the cron program, there are many out there.

    if it is not critical to the second, any windows scheduling application will do, just be sure to have you PHP bin path in your PATH variable for simplicity.

提交回复
热议问题