GithubHelp home page GithubHelp logo

Comments (5)

gjedeer avatar gjedeer commented on June 5, 2024

Hi,

No, it's not possible, I didn't reverse engineer the protocol Celery is using for delayed task.

It looks like a simple addition, though:

https://github.com/celery/celery/blob/b0cfa0d818743262a032c541cce2fa8c43fabad4/celery/app/amqp.py#L281

There's an "eta" field which should contain the date of execution. As usually, your patches are welcome :)

from celery-php.

lankesh avatar lankesh commented on June 5, 2024

I have submitted the fix for eta.
Please have a look and let me know if it is acceptable.

:)

The fix is in this pull request:

lankesh/celery-php@gjedeer:master...master

from celery-php.

gjedeer avatar gjedeer commented on June 5, 2024

Looks OK to me. Thank you! I'll write unit tests before merging, or you
can do it if you have time.

from celery-php.

rocksfrow avatar rocksfrow commented on June 5, 2024

@lankesh @gjedeer is there any update on this? has it been merged? that merge link doesn't show me anything.

if it's been merged -- how do I use it? thanks!

from celery-php.

rocksfrow avatar rocksfrow commented on June 5, 2024

Ah, I think I found my answer in case anybody else comes across this.

celery-php/celery.php

Lines 227 to 229 in ea26823

* $task_args may contain additional arguments such as eta which are useful in task execution
* The usecase of this field is as follows:
* $task_args = array( 'eta' => "2014-12-02T16:00:00" );

from celery-php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.