cron job problem

jt2377

Verified User
Joined
Dec 26, 2005
Messages
55
i got this reseller who can't run cron job from his perivous host that also use Direct Admin.

"I copied the cronjobs from my prvious direct admin account on another server, where they ran, and I get the following errors. I have also changed the syntax of the cron jobs to try to get them to work. Here is what I have done and the results:

wget http://www.xxx.com/whoiscart/collector.php wget: not found
GET http://www.xxx.com/whoiscart/collector.php GET: not found
/home/xxx/domains/xxx.com/public_html/serverstatus/cron.php:
cannot open ?: No such file or directory"

any idea why the cron job from the pervious is not running.

my server is FreeBSD 5.3 Can it be that his pervious server was Linux?
 
Obvioius that the sysadmin of your current host has disabled wget or wget does not work on FreeBSD (never used it, so no clue)

could try this:

/usr/local/php /home/username/domains/xxx.com/public_html/whoiscart/collector.php

and see if that works.
 
sullise said:
Obvioius that the sysadmin of your current host has disabled wget or wget does not work on FreeBSD (never used it, so no clue)

could try this:

/usr/local/php /home/username/domains/xxx.com/public_html/whoiscart/collector.php

and see if that works.

i think wget is working. i have use it to update php before.

i will tell him to try your suggestion.

thank
 
I believe I've seen posts on these forums in which people have written to use something else other than wget for FreeBSD.

Jeff
 
Back
Top