Welcome to FreeBSDFreaks.net!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

[Expert] Time zone change confuses cron

 
   FreeBSD Hosting (Home) -> FreeBSD vs Linux RSS
Next:  NYC LOCAL: Tuesday 12 February 2008 Lisp NYC Eati..  
Author Message
Pseudonyme

External


Since: Feb 18, 2008
Posts: 1



(Msg. 1) Posted: Mon Feb 18, 2008 9:51 am
Post subject: [Expert] Time zone change confuses cron
Archived from groups: comp>os>linux>setup, others (more info?)

Paris,
18 Feb 2008,

Dear all,

We receive a highly anormal volume of connexions from agregated nodes,
or unknown IP's. That organization is particulary unclear to me :
http://www.ripe.net/ripe/index.html.

Having a problem to generate trace files.
-

Ever had a Crontab that does not obey the Unix Time Zone ?

Unix/Fedora core 2/Apache/2.0.50 (Fedora) for pc-linux-gnu on i686
mysqladmin Ver 8.23 Distrib 3.23.58,

Date (ssh command : date) is : Mon Feb 18 18:43:17 CET 2008

BUT in crontab events :

34 23 * * * run-parts [Volume 1]
3 3 * * 5 run-parts [Volume 2]
33 02 * * * run-parts [Volume 3]
55 * * * * sh /etc/cron-scri/backmaker [Volume 4]
*/5 * * * * sh /etc/cron-scri/restoresql2 [Volume 5]

Events are not respecting the Unix time !

As an example :
* */3 * * * run-parts [Volume 10]
That script should be run every 3 HOURS, whatever the Time Zone is.

On another server set on the default Miami time, everything was runing
fine. But set up in the Western-Europe time that script is runing
every minute.

Do you know how to get the CRONTAB respecting the UNIX time ?

Many thanks for any advices from your knowledge and experience.

cougloff

 >> Stay informed about: [Expert] Time zone change confuses cron 
Back to top
Login to vote
Bill Marcum

External


Since: Feb 19, 2008
Posts: 1



(Msg. 2) Posted: Tue Feb 19, 2008 1:51 am
Post subject: Re: [Expert] Time zone change confuses cron [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

f["Followup-To:" header set to comp.os.linux.setup.]
On 2008-02-18, Pseudonyme wrote:
>
>
>
> Paris,
> 18 Feb 2008,
>
> Dear all,
>
> We receive a highly anormal volume of connexions from agregated nodes,
> or unknown IP's. That organization is particulary unclear to me :
> http://www.ripe.net/ripe/index.html.
>
> Having a problem to generate trace files.
> -
>
> Ever had a Crontab that does not obey the Unix Time Zone ?
>
> Unix/Fedora core 2/Apache/2.0.50 (Fedora) for pc-linux-gnu on i686
> mysqladmin Ver 8.23 Distrib 3.23.58,
>
> Date (ssh command : date) is : Mon Feb 18 18:43:17 CET 2008
>
> BUT in crontab events :
>
> 34 23 * * * run-parts [Volume 1]
> 3 3 * * 5 run-parts [Volume 2]
> 33 02 * * * run-parts [Volume 3]
> 55 * * * * sh /etc/cron-scri/backmaker [Volume 4]
> */5 * * * * sh /etc/cron-scri/restoresql2 [Volume 5]
>
> Events are not respecting the Unix time !
>
> As an example :
> * */3 * * * run-parts [Volume 10]
> That script should be run every 3 HOURS, whatever the Time Zone is.
>
No! It will run every minute of every third hour. Specify a minute if
you want it to run once every three hours.

Is there any problem with the other crontab lines?

 >> Stay informed about: [Expert] Time zone change confuses cron 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
NYC LOCAL: Wednesday 21 April 2004 NYLUG Meeting: Mark Sla.. - <blockquote what="official NYLUG announcement"> ---------- Forwarded message ---------- Date: Tue, 20 Apr 2004 09:45:00 -0400 (EDT) From: John Bacalle <jbacalle@nylug.org> Reply-To: Announcements for NYLUG <nylug-announce@...

NYC LOCAL: Thursday 17 November 2005 UNIGROUP: Tom Limonce.. - <blockquote what="official UNIGROUP announcement"> From: Unigroup_of_NY <unilist@unigroup.org> Subject: Reminder: UNIGROUP 17-NOV-2005 (Thu): Time Management for System Administrators Reminder, Unigroup is this Thursday eveni...

NYC LOCAL: CHANGE OF MEETING PLACE NOTICE: Tuesday 9 Decem.. - <blockquote what="official Lisp NYC CHANGE OF MEETING PLACE NOTICE" edits="some blank lines removed" main-point="We will meet at Kenny's place, not at St. Sava's." reminder="GNUbies will meet Wednesday 10 Dec...

install Red Hat linux 9.0 on hp pavilion ze4500 and I got .. - I installed Red Hat linux 9.0 on hp pavilion ze4500 and I got the error: cannot find monitor. I installed RH9.0 by typing the command: linux nousb idebus=50 It finished the installation process. But there are no graphical interface come out because Re...

problem with linux emul on diskless nfs root - Hey all, I'm running 5.2.1-p1 on trying to do PXEBOOT, nfs root, mfs tmp and var. It all works great, but when I try to execute a linux binary, I get a panic "double fault". Sometimes it shows "nfs_getpages: error: 70". That's the er...
   FreeBSD Hosting (Home) -> FreeBSD vs Linux All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]