Bug 83433
Summary: | Cron should interpret crontab TZ environment settings properly | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | jw1233219 | ||||
Component: | vixie-cron | Assignee: | Jason Vas Dias <jvdias> | ||||
Status: | CLOSED CANTFIX | QA Contact: | Brock Organ <borgan> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 8.0 | CC: | jbaldwin, mitr | ||||
Target Milestone: | --- | Keywords: | FutureFeature | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Enhancement | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-10-18 14:36:02 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
jw1233219
2003-02-04 05:23:20 UTC
Created attachment 89833 [details]
Patch to make crontab TZ settings affect scheduler
You should check the netbsd vixie cron. They have CRON_TZ and CRON_WITHIN both implemented as of April 2002. In the interest of compatibility, it would be nice to see the same environ names kept. I have a bunch of production machines which could use this functionality, so I'll see if I can't come up with a patch, no promises though, this has been backburnered by other issues. cron(8) Add support for CRON_TZ and CRON_WITHIN variables in crontab files. [atatat 20020425] crontab(5) excerpt on netbsd 1.6 " In order to provide finer control over when jobs execute, users can also set the environment variables CRON_TZ and CRON_WITHIN. The CRON_TZ variable can be set to an alter- nate time zone in order to affect when the job is run. Note that this only affects the scheduling of the job, not the time zone that the job perceives when it is run. If CRON_TZ is defined but empty (CRON_TZ=""), jobs are sched- uled with respect to the local time zone. The CRON_WITHIN variable should indicate the number of seconds within a job's scheduled time that it should still be run. On a heavily loaded system, or on a system that has just been "woken up", jobs will sometimes start later than originally intended, and by skipping non-critical jobs because of delays, system load can be lightened. If CRON_WITHIN is defined but empty (CRON_WITHIN="") or set to some non-positive value (0, a negative number, or a non-numeric string), it is treated as if it was unset. " Sorry for the delay in processing this enhancement request - this one seems to have slipped through the cracks. I agree this could be a useful feature, and will implement it in the next version of cron for Rawhide / FC-5 . Red Hat Linux is no longer supported by Red Hat, Inc. If you are still running Red Hat Linux, you are strongly advised to upgrade to a current Fedora Core release or Red Hat Enterprise Linux or comparable. Some information on which option may be right for you is available at http://www.redhat.com/rhel/migrate/redhatlinux/. Red Hat apologizes that these issues have not been resolved yet. We do want to make sure that no important bugs slip through the cracks. Please check if this issue is still present in a current Fedora Core release. If so, please change the product and version to match, and check the box indicating that the requested information has been provided. Note that any bug still open against Red Hat Linux on will be closed as 'CANTFIX' on September 30, 2006. Thanks again for your help. Red Hat Linux is no longer supported by Red Hat, Inc. If you are still running Red Hat Linux, you are strongly advised to upgrade to a current Fedora Core release or Red Hat Enterprise Linux or comparable. Some information on which option may be right for you is available at http://www.redhat.com/rhel/migrate/redhatlinux/. Closing as CANTFIX. |