I could use some help with a cron job error.

WhiteEagle22

Avatar of Justice
Joined
Feb 12, 2008
Messages
899
Location
Alberta, Canada
Hey all,

I really can use some help with the following cron job error:
/bin/sh: get: command not found

How can I fix it so that it'll work?

TIA!
Nathan P.
 
Can you tell us the entire cron job? I can't debug things I can't see.
 
There's five cron jobs:
59 * * * get (path to script) > /dev/null/
3 of /*5 * * * get (path to script) > /dev/null/
59 * * * get (path to script) > /dev/null/

I changed them all to wget, and I'm now getting these two errors:
/home/foodrati/games/hireahacker/includes/cron_process_stemina.php: Unsupported scheme.

and

--2010-04-14 21:55:01-- http://home/foodrati/games/hireahacker/includes/cron_process_health.php
Resolving home... failed: Name or service not known.
wget: unable to resolve host address `home'

I'm thinking I should use the http:// type of path (ie. games.leetlink.com/(path to script), or is there something else I should do.

The server OS is Linux, and the scripts replenish health, stamina, energy, etc. in a game.
 
I got in contact with my host's help and support via a ticket in the member's area, and they told me to try:
Code:
/opt/curlssl/bin/curl -s /home/foodrati/path/to/file.php

I'm hoping that this will solve it.
 
Back
Top Bottom