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

new utc baseline for (old) schedule PR, make some datetime objs tzaware #489

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Oct 20, 2021

  1. new utc baseline for (old) schedule PR, make some datetime objs tzaware

    setting TZ environment var in runtime may be required (also a good idea)
    
    schedule/test changes:
    
    * import timezone and set UTC default
    * adjust last_run and idle_seconds to be utc times
    * make until/cancel_after tzaware, update datetime strings
    * make should_run/run/_is_overdue use UTC times
    * make test_until_time use tzaware datetime for asserts
    * remove runtime assert, raise ScheduleError instead
    
    Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
    sarnold committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    8817f7a View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2021

  1. add example script and pytest driver for job wrappers/logging

    Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
    sarnold committed Oct 21, 2021
    Configuration menu
    Copy the full SHA
    44117e4 View commit details
    Browse the repository at this point in the history