popularity-contest does not work out of the box
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
popularity-contest (Ubuntu) |
Fix Released
|
High
|
Michael Vogt | ||
Dapper |
Invalid
|
Undecided
|
Unassigned | ||
Edgy |
Invalid
|
Undecided
|
Unassigned |
Bug Description
In Dapper, popularity-contest cronjob has a usage error.
popcon-
Cronjob should use input redirection. This small fix can be seen below.
--- popularity-
+++ popularity-contest 2006-06-28 00:37:58.000000000 +0300
@@ -53,7 +53,7 @@
if [ "$SUBMITURLS" ] && [ "yes" = "$USEHTTP" ]; then
for URL in $SUBMITURLS ; do
if setsid /usr/share/
- -u $URL -f $POPCON 2>/dev/null ; then
+ -u $URL < $POPCON 2>/dev/null ; then
else
I also came across this "manual running of cronjob makes it wait indefinitely" today as i wanted to test it.
With the fix above it seems to work (as i don´t now on which webpage to look for my data i can´t tell if they are correctly send out and received).