【问题标题】:How to get jobid from inside job in php-resque?如何从php-resque的内部工作中获取jobid?
【发布时间】:2014-11-24 20:56:31
【问题描述】:

我正在使用 php-resque https://github.com/chrisboulton/php-resque 迈出第一步。 任何人都知道我怎样才能在 Job Class 中获得 jobid ?

【问题讨论】:

    标签: php php-resque


    【解决方案1】:

    您可以通过以下方式获取 id/token: $this->job->payload["id"];

    【讨论】:

      猜你喜欢
      • 2016-01-11
      • 2019-06-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-12-24
      • 2010-12-16
      • 1970-01-01
      相关资源
      最近更新 更多