Nothing I can think of that's too elegant. You could use memcached though and stick a record in there relating to the delayed job. Then when you want to delete the job just delete the associated memcached object. And when you are consuming jobs check for the associated record in memcached first.
--chad On Aug 10, 2011, at 5:25 PM, Daniel <[email protected]> wrote: > Is there any way to delete a delayed job, or modify a delayed job? I > am trying to run several commands several minutes after user action, > but if there is a duplicate job in delay, I do not want it to run > twice. > > I know beanstalkd does not support deleting delayed jobs currently, > but is there any sort of work around? > > - Daniel > > -- > You received this message because you are subscribed to the Google Groups > "beanstalk-talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/beanstalk-talk?hl=en. > -- You received this message because you are subscribed to the Google Groups "beanstalk-talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/beanstalk-talk?hl=en.
