Don't miss out Virtual Happy Hour this Friday (April 26).
Try our conversational search powered by Generative AI!
AI OnAI Off
Don't miss out Virtual Happy Hour this Friday (April 26).
Jun 28, 2018
Aug 31, 2018
Core
Closed, Fixed and tested
FrameworkContext.Current is stored in HttpContext if it presents, or an internal field if it does not. The problem is your scheduled job is most likely run without a HttpContext. Therefore, FrameworkContext.Current is created once and reused. That's why the time is can be so off (minutes, if not even hours)
The entire class is fairly useless so should be obsoleted.