I have a few scenarios where I need to execute the queue functions after 2, 5, and 7 seconds.
I tried different ways but didn’t find any luck.
Can anyone assist or suggest to me how I can achieve this?
Best,
Navdeep
I have a few scenarios where I need to execute the queue functions after 2, 5, and 7 seconds.
I tried different ways but didn’t find any luck.
Can anyone assist or suggest to me how I can achieve this?
Best,
Navdeep
I was thinking if we could use Date-time param for enqueue method to execute the queue event on specific time.
for Instance:
execute_event_on = “Dec-25-2020 10:10:00”
enqueue(method, execute_on=execute_event_on)
If there’s already hack for it please let me know.
NOTE:
I can’t use scheduler hooks to enqueue the event.
I have problem with date.
I am developing The Extension of Webshop where user can schedule published item. the main problem is we can not pass datetime argument on enqueue. So I have to create scheduler and check every hour