wa0x6e / php-resque-ex-scheduler

An addon for php-resque that lets you queue jobs for execution some time in the future. Follows resque-scheduler.
MIT License
26 stars 24 forks source link

Disabling the job by its hash #5

Open themao opened 10 years ago

themao commented 10 years ago

Is there a reason why a method for disabling the job schedule by hash (unique id) is not implemented?

wa0x6e commented 10 years ago

The hash is based on the job's arguments. Since php-resque-ex is adding extras datas internally to the jobs arguments for analytics, it's impossible to retrieve the original job "hash" once queued.