I am implementing a task scheduling system in Django. User will select a task e.g. send email and will set a very specific time and date for task execution.
I found with Celery you can set up a task like
@Task
def email(address):
// Send email logic
But how can I trigger it at specific time? For PeriodicTasks in celery one have to specify execution time and frequency upfront. How can i add execution date and time on the fly?
Is their any method in Celery e.g. add.schedule(date="SOME_DATA") or any other ways i can solve this use case.