carrot.models.
MessageLog
(*args, **kwargs)¶MessageLogs store information about a carrot task
carrot.objects.Message
object is created and published.carrot.objects.Message
object with the same parameters. In this case, the originally MessageLog object will be deletedSTATUS_CHOICES
= (('PUBLISHED', 'Published'), ('IN_PROGRESS', 'In progress'), ('FAILED', 'Failed'), ('COMPLETED', 'Completed'))¶exchange
¶the exchange
keywords
¶Used in carrot.views.MessageView
to display the keyword arguments as a table
requeue
()¶Sends a failed MessageLog back to the queue. The original MessageLog is deleted
task
¶the import path for the task to be executed
carrot.models.
ScheduledTask
(*args, **kwargs)¶A model for scheduling tasks to run at a certain interval