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

        <bdo id='R8KTP'></bdo><ul id='R8KTP'></ul>
    1. <tfoot id='R8KTP'></tfoot>
      1. <small id='R8KTP'></small><noframes id='R8KTP'>

        接收 cron 字符串并返回下一次运行时间戳的 PHP 函数

        PHP function that receive a cron string and return the next run timestamp(接收 cron 字符串并返回下一次运行时间戳的 PHP 函数)

          <tbody id='bllXz'></tbody>

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

          • <tfoot id='bllXz'></tfoot>
                <bdo id='bllXz'></bdo><ul id='bllXz'></ul>
                • <small id='bllXz'></small><noframes id='bllXz'>

                • 本文介绍了接收 cron 字符串并返回下一次运行时间戳的 PHP 函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我需要开发一个任务系统,它应该能够在不支持 crontab 的服务器上工作.

                  I need to develop a task system that should be able to work on servers that doesn't support crontab.

                  我问是否有任何现有代码可以使用 cron 字符串(例如,'0 0,12 1 */2 *' 并返回下一次计划运行的时间戳.

                  I'm asking if there is any existing code that can take a cron string (e.g. '0 0,12 1 */2 *' and return the timestamp of the next scheduled run.

                  如果找不到这样的代码,那我应该如何开始呢?

                  If such a code couldn't be found then how should I start with that?

                  推荐答案

                  你可以使用这个类 PHP-Parse-cron-strings-and-compute-schedules

                  它还会计算上次计划的运行

                  It'll also compute the last scheduled run

                  这篇关于接收 cron 字符串并返回下一次运行时间戳的 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() 函数)
                  <tfoot id='lyqPK'></tfoot>
                    <bdo id='lyqPK'></bdo><ul id='lyqPK'></ul>

                          <tbody id='lyqPK'></tbody>

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

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

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