Hi everyone.
Can someone please explain how DNN Scheduler "calculates" the "Next start" value?
I'm accessing the scheduler from code behind to manage my Tasks only (giving access to some users) and when I create a new task set it to start ie. 2023/11/3 00:05AM repeat every month I see that "Next Start" is set to 2023/11/2 14:01:15. Also, when the task is run, the Next Start gets some weird value.
Well, the date/time you see may vary based on the server time zone, the time zone setting for the site in question (in DNN), and the preferred time zone in your profile. In the case of using a superuser account, there isn't a profile, so the latter doesn't matter since you can see the scheduler. (Only a superuser can see that.)
Now, the time that's shown - regardless of time zone - is based on the calculated next start based on the scheduled jobs that are present and enabled.
Will, as I wrote, the scheduler items are "accessed" through a propietary module with a standard user account, so there is no time zone issue. Later, I've upgraded DNN from 9.4.1 to 9.13 and so far it looks fine.
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.