Is there any smart way for me to set a repeated task with random time interval.
Say like if I want to do task A every time in range of 3 mins to 5 mins Example:
1st Task A - 3 mins
2nd Task A - 4 mins
3rd Task A - 5 mins
4th Task A - 4 mins
...
Finally My solution is laravel Queue jobs https://laravel.com/docs/5.6/queues
Use scheduler Here is link: Laravel Doc
Use of scheduler makes code clean and easy to understand.