PDA

View Full Version : All set but nothing happens


Nuke
02-10-2005, 12:10 AM
I set up the script , filled it with thumbs, installed trade script and configred out script link but nothing happens. My page doesn't change. In General Stats I cannot see anything for Maximum clickthrough and Average CTR. Does the script need some activation ?
I clicked on the thumbs several times and it's working but the thumbs don't change.
I put */2 * * * * /usr/bin/fetch http://www.blah-blah.com/tmanager/run.php in crontab but I got the following error msg:
fetch: http://www.blah-blah.com/tmanager/run.php: size of remote file is not known
run.php 4095 MB 0 Bps

My server is running FreeBSD. Is it the cron problem or I'm doing something wrong ?

Dichotomy
02-10-2005, 12:32 AM
check maintainance -> logs and tell me whats there

Nuke
02-10-2005, 12:52 AM
[2005-Feb-09 03:42:00] starting update at 03:42:00
[2005-Feb-09 03:40:00] updated at 03:40:00
[2005-Feb-09 03:40:00] starting update at 03:40:00
[2005-Feb-09 03:38:00] starting update at 03:38:00
[2005-Feb-09 03:36:01] updated at 03:36:01
[2005-Feb-09 03:36:01] starting update at 03:36:01
[2005-Feb-09 03:34:00] updated at 03:34:00
[2005-Feb-09 03:34:00] starting update at 03:34:00
[2005-Feb-09 03:32:00] starting update at 03:32:00
[2005-Feb-09 03:30:01] updated at 03:30:01
[2005-Feb-09 03:30:01] starting update at 03:30:01
[2005-Feb-09 03:28:00] starting update at 03:28:00
[2005-Feb-09 03:26:00] starting update at 03:26:00

Dichotomy
02-10-2005, 01:03 AM
then check output file - according to cron all shoul be ok.

Nuke
02-10-2005, 04:09 AM
it's OK now but I receive email from Cron Deamon every 2 minutes:
Subject: Cron <me@myserver> /usr/bin/fetch http://www.mydomain.com/tmanager/run.php

fetch: http://www.mydomain.com/tmanager/run.php: size of remote file is not known
run.php 4095 MB 0 Bps

I'll get 720 mails every day. Any idea how to stop this ?

Dichotomy
02-10-2005, 04:24 AM
so, mainapge is ok?

about cron - modify it so fetch writes output to /dev/null and thats it. that is if cron mailing you bothers you too much.

Mathew
02-10-2005, 04:26 AM
*/2 * * * * /usr/bin/fetch http://www.blah-blah.com/tmanager/run.php > /dev/null 2>&1

add this /dev/null part to the end and you should be fine, no more emails for this crontab entry

Mathew
02-10-2005, 04:28 AM
if you want to prevent run.php from appearing, the fetch option is

-o /dev/null

(in wget, this is the big O letter, ie -O /dev/null, but you have fetch anyway, just mentioning it for those searching the board and having wget)

Nuke
02-10-2005, 04:39 AM
so, mainapge is ok?

Yes, it's ok now
The cron is OK too.

Thanks alot