Skip to content

How does clocked schedule work? #861

Open
@realsuayip

Description

@realsuayip
  1. I want to run an one-off task at a certain datetime.
  2. Celery has eta, but does not recommend using it for scheduling a lot of tasks.
  3. So, using db-backed beat with clocked schedule seems to be the best option.

So why does every clocked task require creating a row in database using ClockedSchedule model? That's seems like waste of resources to me since I'm planning on scheduling some hundreds of thousands of tasks.

PeriodicTask already has start_time attribute, why don't we use that?

Whats the best way to schedule one-off tasks that will run at specified time?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions