Quantcast
Channel: GetNextFireTimeUtc() returns null while trigger takes place in the futre - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Answer by Matthew for GetNextFireTimeUtc() returns null while trigger takes place in the futre

$
0
0

Just ran into this myself. Per Trigger.GetNextFireTimeUtc Method, "The value returned is not guaranteed to be valid until after the Trigger has been added to the scheduler."

So make sure you call ScheduleJob(...) prior to executing `GetNextFireTimeUtc()'.


Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>