[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Pyatcron-devel-list] Some comments on Brian code

From: Childers, Matthew
Subject: RE: [Pyatcron-devel-list] Some comments on Brian code
Date: Tue, 18 Nov 2003 17:36:53 -0600

> >
> > I see what you are saying now.  That would work, however, I have a
> > question more so with cron than how you are saying to do it.  If you
> > have a minute expressed as */10 that would be run every 10 minutes
> > could be re-written (10,20,30,40,50,60).  Now if you have a minute
> > expressed as */45, will this actually run every 45 minutes, or only
> > the 45th minute of the hour?  If it runs every 45 minutes, then I
> > know how you would express it in an array, as the minutes would
> > each hour.  The first hour it would run on the 45th minute, the
> > hour, on the 30th minute, the third on the 15th minute and so on.  I
> > looked around and couldn't find any information on this, so if it
> > not actually run every 45 minutes, then Julien's way would work
> > otherwise, we would have to look at something else.
> >
> Ah yeah. I guess you got a good point here... I thought "*/45" meant
> "everything except 45" :) As you say, it's just not possible to
> "emulate" the "*/x" behaviour correctly (provided that cron interprets
> it correctly) with int arrays. So we'll have to use strings (which is
> not a problem in fact).

Again, I am not certain as to how cron interprets this, so if anyone
knows, let us know, if not, I will try it tonight and see what it does.
If it does not interpret it the way I have suggested above, then I think
the array of integers is the correct way of doing it.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]