Bug 1250600 - cron doesn't notice timezone changes
Summary: cron doesn't notice timezone changes
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: cronie
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ondřej Pohořelský
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-05 14:20 UTC by Jason Merrill
Modified: 2022-06-01 09:50 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jason Merrill 2015-08-05 14:20:01 UTC
Description of problem:
When my laptop changes timezone, cron jobs continue to run as though it was still in the old timezone.

Version-Release number of selected component (if applicable):
cronie-1.4.12-5.fc22.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Use 'crontab' to add job to run at specific time.  Mine is:

45 7 * * * $HOME/bin/aup > $HOME/aup.out 2>&1

2. Change the time zone in Settings.

Actual results:
Job runs at specified time in old timezone.

Expected results:
Job runs at specified time in current timezone.

Additional info:

Comment 1 Tomas Mraz 2015-08-05 14:49:18 UTC
Is this a regression? As it is probably not I'd say this is a feature request. You need to restart the crond to notice the timezone change.


Note You need to log in before you can comment on or make changes to this bug.