Closed trippy22 closed 2 years ago
Basically, I'd expect some sort of outputs for date times if I were to run a simulation for say the next 10 executions:
2021-12-29 22:02:36.618341
2021-12-29 22:16:37.301015
2021-12-29 22:33:37.309914
2021-12-29 22:50:37.489636
2021-12-29 23:06:37.598328
2021-12-29 23:23:38.258891
2021-12-29 23:34:39.044151
2021-12-29 23:51:39.051819
2021-12-30 00:07:39.652380
2021-12-30 00:17:39.767334
I was able to achieve this by reusing the tests here:
I'm interested in scheduling tasks at random times of the day. This seems like it does the job currently, from the docs:
I was however curious in gaining more insight about what future times this task would run, in sorts, a "simulation" of future times selected without actually waiting for the task to execute. Is this something that's possible to mock out?