Your message dated Wed, 02 Apr 2008 15:43:51 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#333852: this bug/#333852 - cront: job runs multiple 
times when steps are using in minutes field
has caused the Debian Bug report #333852,
regarding cront: job runs multiple times when steps are using in minutes field
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
333852: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=333852
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: cron
Version: 3.0pl1-87
Severity: important
File: crontab

I run several tasks that need to execute every 2 or 3 minutes. I noticed
that they have been running multiple times (I've seen anywhere from 2 to 4).

I can always reproduce the issue by creating a script: 

*/2 *   * * *   root    /root/crontabdebug.sh

With the contents being:

#/bin/bash

echo "$0 $1 `date` PID=$$" >> /tmp/crontab.debug.log


These are examples of the log entries that show the problem:

/root/crontabdebug.sh  Thu Oct 13 14:50:00 CDT 2005 PID=19644
/root/crontabdebug.sh  Thu Oct 13 14:51:58 CDT 2005 PID=19735
/root/crontabdebug.sh  Thu Oct 13 14:51:59 CDT 2005 PID=19778
/root/crontabdebug.sh  Thu Oct 13 14:52:01 CDT 2005 PID=19820
/root/crontabdebug.sh  Thu Oct 13 14:54:01 CDT 2005 PID=19914


/root/crontabdebug.sh  Thu Oct 13 22:38:00 CDT 2005 PID=7672
/root/crontabdebug.sh  Thu Oct 13 22:38:01 CDT 2005 PID=7717


/root/crontabdebug.sh  Fri Oct 14 00:09:59 CDT 2005 PID=11664
/root/crontabdebug.sh  Fri Oct 14 00:09:59 CDT 2005 PID=11685

/root/crontabdebug.sh  Fri Oct 14 00:22:01 CDT 2005 PID=12246
/root/crontabdebug.sh  Fri Oct 14 00:22:59 CDT 2005 PID=12308


I did look at bug #322921 and think that it doesn't apply
in this case. My ntpdate entry runs every 9 minutes, which
doesn't always coincide with the multiple executions.

Thanks,

Alberto


-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-686-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages cron depends on:
ii  adduser                     3.64         Add and remove users and groups
ii  debianutils                 2.14.1       Miscellaneous utilities specific t
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libpam0g                    0.76-22      Pluggable Authentication Modules l

-- no debconf information


--- End Message ---
--- Begin Message ---
As it stands it seems to properly work with current versions of
cron. Tested on 3.0pl1-100 and 3.0pl1-86.

Thanks,

Alberto


On Thu, 2008-03-06 at 14:08 -0500, Justin Pryzby wrote:
> #333852 - cront: job runs multiple times when steps are using in minutes field
> http://bugs.debian.org./333852
> 
> Could you test if this problem exists with recent versions of cron?
> 
> 
-- 
Alberto Alonso                        Global Gate Systems LLC.
(512) 351-7233                        http://www.ggsys.net
Hardware, consulting, sysadmin, monitoring and remote backups



--- End Message ---

Reply via email to