1 |
Hello, |
2 |
|
3 |
I am not new in fcron but I have never used all its functionalities. In |
4 |
fact, I only use &-lines in crontab which are like in Cron. However, |
5 |
today, I need to use Fcron for executions like once all Friday between |
6 |
10:00 and 13:00. So I read Fcrontab(5) again. And I thought %-lines are |
7 |
what I needed. But, I didn't succeed in understanding how *ly, mid*ly |
8 |
and *s keywords work. Maybe could you help me. Where could I find more |
9 |
examples on those %-lines ? |
10 |
|
11 |
What I have understood ? |
12 |
For instance for an execution all Friday between 10:00 and 13:00, I |
13 |
would write: |
14 |
%hours * 10-12 * * Fri /what/I/want/to/do |
15 |
Is it right ? |
16 |
For *ly and mid*ly, I don't understand the difference between mid |
17 |
and not mid. What are the differences between: |
18 |
%daily * 10-12 /what/I/want/to/do |
19 |
# an execution all days between 10:00 and 13:00 ? |
20 |
And: |
21 |
%nightly * 10-12 /what/I/want/to/do |
22 |
# an execution all nights between 10:00 and 13:00 ? So all days |
23 |
between 10:00 and 13:00 ... |
24 |
Or between: |
25 |
%hourly 15-30 /what/I/want/to/do |
26 |
# an execution all hours between -:15 and -:30 ? |
27 |
And: |
28 |
%midhourly 15-30 /what/I/want/to/do |
29 |
# the same ? |
30 |
And what are the differences between weekly and midweekly, excepted |
31 |
Fcron starts to "try" the execution Monday or Thursday ? ... |
32 |
|
33 |
So can you explain me how work %-lines, or tell me where I could find a |
34 |
documentation more explicit than Fcrontab(5) ;-) . |
35 |
|
36 |
Regards, |
37 |
|
38 |
Grégoire Baron |
39 |
|
40 |
|
41 |
|
42 |
-- |
43 |
gentoo-user@g.o mailing list |