Koo Jun Hao wrote:

placing your signature at the top of your post will ensure that
some folks won't see it at all (ie those who have their mailer set
to not display signatures). Others mailers will not include the
mail when replying, as it is all signature ...

> On 11/06/2009 02:42 PM, Goh Yong Kwang wrote:
> -- 
^^^^^That is a signature-start indicator: dash-dash-space-newline
> Regards, Junhao> I saw an example at 
> http://www.marksanborn.net/linux/learning-cron-by-example/ for a cron job as 
> follows:


> If a 24hour day is divided by 6, each interval is 4hours.
> 
> 00:59am + 4 hours = 4:59am
> 04:59am + 4 hours = 8:59am ...
> 
> The number after the '/' is not a step indicator. It is really integer 
> division. Expanded as
> 
> TIME_INTERVAL=${Num_of_time_units}/${X},
>     where X is the number you put after the '/',
>       and ${Num_of_time_units} is the number of units for that column, 
> i.e. 24 for hours, 60 for mins, 60 for secs, etc

Then why does the manual say:
| Step values can be used in conjunction with ranges.  Following a range
with ‘‘/<number>’’ specifies skips of the number’s value through the
range.  For example, ‘‘0-23/2’’ can be used in the hours field
|        to specify command execution every other hour (the alternative
in the V7 standard is ‘‘0,2,4,6,8,10,12,14,16,18,20,22’’).  Steps are
also permitted after an asterisk, so if you want to say  ‘‘every  two
|        hours’’, just use ‘‘*/2’’.

I would expect that to yield a run every 12 hours by your explanation,
24hr divided by 2

No, I don't know what is correct (I suspect it is every 2 hours) But I
haven't used that in a while. Would need to test.

M




_______________________________________________
LUGS Mailing list - [email protected]
List FAQ: http://wiki.lugs.org.sg/LugsMailingListFaq
Info page: http://www.lugs.org.sg/mailman/listinfo/slugnet
To unsubscribe send an empty email to: [email protected]

Reply via email to