<small id='HLJ26'></small><noframes id='HLJ26'>

  1. <i id='HLJ26'><tr id='HLJ26'><dt id='HLJ26'><q id='HLJ26'><span id='HLJ26'><b id='HLJ26'><form id='HLJ26'><ins id='HLJ26'></ins><ul id='HLJ26'></ul><sub id='HLJ26'></sub></form><legend id='HLJ26'></legend><bdo id='HLJ26'><pre id='HLJ26'><center id='HLJ26'></center></pre></bdo></b><th id='HLJ26'></th></span></q></dt></tr></i><div id='HLJ26'><tfoot id='HLJ26'></tfoot><dl id='HLJ26'><fieldset id='HLJ26'></fieldset></dl></div>

    <tfoot id='HLJ26'></tfoot>

      <bdo id='HLJ26'></bdo><ul id='HLJ26'></ul>
      <legend id='HLJ26'><style id='HLJ26'><dir id='HLJ26'><q id='HLJ26'></q></dir></style></legend>
    1. Cron Jobs 调用带有变量的 PHP 脚本

      Cron Jobs calling a PHP script with variables(Cron Jobs 调用带有变量的 PHP 脚本)

        <legend id='iId0a'><style id='iId0a'><dir id='iId0a'><q id='iId0a'></q></dir></style></legend>

          <bdo id='iId0a'></bdo><ul id='iId0a'></ul>
        • <small id='iId0a'></small><noframes id='iId0a'>

            <tbody id='iId0a'></tbody>
          • <tfoot id='iId0a'></tfoot>

                <i id='iId0a'><tr id='iId0a'><dt id='iId0a'><q id='iId0a'><span id='iId0a'><b id='iId0a'><form id='iId0a'><ins id='iId0a'></ins><ul id='iId0a'></ul><sub id='iId0a'></sub></form><legend id='iId0a'></legend><bdo id='iId0a'><pre id='iId0a'><center id='iId0a'></center></pre></bdo></b><th id='iId0a'></th></span></q></dt></tr></i><div id='iId0a'><tfoot id='iId0a'></tfoot><dl id='iId0a'><fieldset id='iId0a'></fieldset></dl></div>

                本文介绍了Cron Jobs 调用带有变量的 PHP 脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                在 cron 作业中使用以下命令是否正确:

                Is it correct to use the following command in a cron job:

                /usr/bin/php -q/home/**/public_html/scores.php?date=12/05/2009

                /usr/bin/php -q /home/**/public_html/scores.php?date=12/05/2009

                我没有找到任何支持性的文章/材料来回答它,因此我向社区提出了这个问题.

                I haven't found any supportive article / material to answer it, hence i am putting forth this question to the community.

                所以问题是有没有办法让我在调用 PHP 脚本的 cron 作业中包含一个变量?

                So the question is is there a way for me to include a variable in a cron job calling a PHP script?

                谢谢

                推荐答案

                在 cron 作业中,您应该如何传递参数

                in cron jobs, here is how you should pass the argument

                /usr/bin/php -q /home/**/public_html/scores.php date=12/05/2009
                

                *注意没有?"

                这篇关于Cron Jobs 调用带有变量的 PHP 脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                Is PHP or PHP based web framework stateful or stateless?(PHP 或基于 PHP 的 Web 框架是有状态的还是无状态的?)
                How to parse django style template tags(如何解析 django 样式模板标签)
                What is a good setup for editing PHP in Emacs?(在 Emacs 中编辑 PHP 的好设置是什么?)
                How to check whether specified PID is currently running without invoking ps from PHP?(如何在不从 PHP 调用 ps 的情况下检查指定的 PID 当前是否正在运行?)
                What#39;s the difference between escapeshellarg and escapeshellcmd?(escapeshellarg 和escapeshellcmd 有什么区别?)
                php in background exec() function(php 后台 exec() 函数)
              1. <small id='ynHan'></small><noframes id='ynHan'>

                1. <legend id='ynHan'><style id='ynHan'><dir id='ynHan'><q id='ynHan'></q></dir></style></legend>
                  <i id='ynHan'><tr id='ynHan'><dt id='ynHan'><q id='ynHan'><span id='ynHan'><b id='ynHan'><form id='ynHan'><ins id='ynHan'></ins><ul id='ynHan'></ul><sub id='ynHan'></sub></form><legend id='ynHan'></legend><bdo id='ynHan'><pre id='ynHan'><center id='ynHan'></center></pre></bdo></b><th id='ynHan'></th></span></q></dt></tr></i><div id='ynHan'><tfoot id='ynHan'></tfoot><dl id='ynHan'><fieldset id='ynHan'></fieldset></dl></div>

                2. <tfoot id='ynHan'></tfoot>

                    <bdo id='ynHan'></bdo><ul id='ynHan'></ul>

                        <tbody id='ynHan'></tbody>