Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scheduled Task not respecting Daylight Savings (DST) #238

Open
clee1107 opened this issue Nov 9, 2021 · 2 comments
Open

Scheduled Task not respecting Daylight Savings (DST) #238

clee1107 opened this issue Nov 9, 2021 · 2 comments
Assignees
Labels

Comments

@clee1107
Copy link

clee1107 commented Nov 9, 2021

Have two (2) scheduled actions. As of Sunday (Nov. 7) they are both triggering 1 hr earlier than they should.

Expected Behavior

Tasks should trigger at 5:30AM and 11AM

Current Behavior

Tasks are trigger at 4:30AM and 10AM

Possible Solution

Steps to Reproduce (for bugs)

  1. Scheduled task set prior to DST
  2. DST Occurs
  3. Task triggers +/- hour depending on DST action

Context

Running Set-Schedule appears to be a work around.

@devblackops
Copy link
Member

Thanks @clee1107. Probably a bug with how PoshBot calculates the next schedule run time based on the interval, the current date, and the last time it ran.

Have you tried restarting PoshBot, and is the schedule still off by an hour?

@devblackops devblackops self-assigned this Nov 10, 2021
@clee1107
Copy link
Author

clee1107 commented Nov 10, 2021

@devblackops Tried to restart service no change.

Agree looks like interval issue as once used Set-Schedule command fixed them. Guessing reset the interval to account for the hour change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants