Question about TheSchwartz

Hemant Bist hemantbist at gmail.com
Wed Sep 5 20:49:41 UTC 2007


I could not find a mailing list for schwartz.
If there is some other mailing list I should be using, I would really
appreciate if you can point me to it.


I want to process recurring jobs using schwartz. Basically after processing
the job, I know when to schedule the next run?
How do I do that?(replace_with does not work if I use the same uniqkey).

Doing the following in MyWorker::work() seems to work, but does not look
like the right thing to do.

job->grabbed_until(0); $job-run_after($new_time_for_job);
$job->did_something(1);


Thanx,
HB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.danga.com/pipermail/gearman/attachments/20070905/a8f09bc8/attachment.html


More information about the Gearman mailing list