1 |
Hi all, |
2 |
|
3 |
I have the following cron script on stable hardened amd64: |
4 |
|
5 |
#!/bin/bash |
6 |
# /etc/cron.daily/syncportage.sh script |
7 |
emerge --sync 2>&1 |
8 |
# end /etc/cron.daily/syncportage.sh script |
9 |
|
10 |
together with the following setting in root's fcrontab (almost exactly |
11 |
like vixie-cron's crontab): |
12 |
|
13 |
#begin crontab |
14 |
# Global variables |
15 |
SHELL=/bin/bash |
16 |
PATH=/sbin:/bin:/usr/sbin:/usr/bin |
17 |
MAILTO=root |
18 |
HOME=/ |
19 |
# check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly |
20 |
59 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly |
21 |
9 3 * * * root rm -f /var/spool/cron/lastrun/cron.daily |
22 |
19 4 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly |
23 |
29 5 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly |
24 |
*/10 * * * * root test -x /usr/sbin/run-crons && /usr/sbin/run-crons |
25 |
#end fcrontab |
26 |
|
27 |
The resulting fcron mail has the strange structure: |
28 |
|
29 |
* Welcome message from (mirror) |
30 |
* receiving incremental file list |
31 |
* timestamp.chk |
32 |
* rsync statistics (Number of files, ... , speedup) |
33 |
* Welcome message from (mirror) |
34 |
* receiving incremental file list |
35 |
* deleting .ebuild.x; a list of files transferred |
36 |
* rsync statistics |
37 |
* q: Updating ebuild cache ... |
38 |
* q: Finished (number) entries in (time) seconds |
39 |
* >>> Starting rsync with (mirror) |
40 |
* >>> Checking server timestamp ... |
41 |
|
42 |
Am I doing something wrong? I'd expect the ">>> Starting rsyncing with |
43 |
(mirror)" and ">>> Checking server timestamp" to be at the |
44 |
beginning(ish) rather than the end. |
45 |
|
46 |
Thanks. |
47 |
|
48 |
Kerwin |