https://bugzilla.wikimedia.org/show_bug.cgi?id=60217

       Web browser: ---
            Bug ID: 60217
           Summary: Support one-time job scheduling
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: JobQueue
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: s...@ludd.net
                CC: tstarl...@wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

I'd like to enqueue a job which will not be run until a specified time in the
future.

Currently, my only option seems to be something really evil involving backoffs
and a Job::run() method which intentionally fails until the desired time.

Ideally, we could deprecate the mw-runJobs-backoffs.json system in favor of a
not_until column in the `job` table.

My use case is almost too hypothetical to mention: a workflow engine which can
do things like abandon AfD cases after a set number of days.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to