[CLUE-Tech] what clock does cron use?

Jason S. Friedman jason at powerpull.net
Wed Mar 31 16:24:27 MST 2004


Strange thing here.  I have this line in my crontab:

00 00 1  *  * command

I expect this to run as soon as the 1st of each month
arrives, and it has done so for the past few months.

I use UTC on my system:

$ date
Wed Mar 31 23:23:42 UTC 2004

This cron job ran at 23:00 on the 31st.  Here's the header
from the email cron sent:

jason at goldenrule ~ $ mail
Mail version 8.1 6/6/93.  Type ? for help.
"/var/spool/mail/jason": 2 messages
>   1 MAILER-DAEMON at golden  Thu Apr  1 00:20  13/562  
"DON'T DELETE THIS MESSAGE -- FOLD"
    2 root at powerpull.net    Wed Mar 31 23:00  23/868  
"Cron <jason at goldenrule> perl /opt"
& 2
Message 2:
>From jason at powerpull.net  Wed Mar 31 23:00:02 2004

>From powerpull  Thu Apr  1 00:00:02 2004
Return-Path: <jason at powerpull.net>
X-Original-To: jason
Delivered-To: powerpull at powerpull.net
Received: by goldenrule.powerpull.net (Postfix, from
userid 505)
        id 12EED7B858; Wed, 31 Mar 2004 23:00:01 +0000 (UTC)
From: root at powerpull.net (Cron Daemon)
To: jason at powerpull.net
Subject: Cron <jason at goldenrule> perl ...



More information about the clue-tech mailing list