Web Hosting Talk







View Full Version : Cron Jobs


xlboards
02-17-2006, 08:04 PM
Hello all, I'm in need of some help with cron jobs, and was hoping to get some answers here. I'm running the Gamers Fusion RPG version 2.5. I need it to run a reset script every hour. The problem is, the command that was given in the install file doesn't work. This is what I have:

lynx -dump http://isaac.hostsmf.com/rpg/reset.php?step=reset > /dev/null

What can I do to get this to work?

Josh1billion
02-17-2006, 10:59 PM
I had a similar problem before.. sorry, I can't help you. But just so you know, you're not alone. I couldn't get cron jobs to work and I was doing something similar to that (without the /dev/null at the end).

Real-Hosts
02-18-2006, 06:01 AM
Um,
try:

wget --delete-after http://isaac.hostsmf.com/rpg/reset.php?step=reset > /dev/null

Should work fine.

Real-Hosts
02-18-2006, 09:01 AM
No wait..

wget --delete-after http://isaac.hostsmf.com/rpg/reset.php?step=reset

You'd get an error with the /dev/null at the end, since it downloads it to blackhole, then wget tries to delete it. My bad.. This should work fine.

xlboards
02-18-2006, 02:13 PM
No wait..

wget --delete-after http://isaac.hostsmf.com/rpg/reset.php?step=reset

You'd get an error with the /dev/null at the end, since it downloads it to blackhole, then wget tries to delete it. My bad.. This should work fine.
Doesn't seem to be working.

Real-Hosts
02-18-2006, 02:31 PM
Why?
Do you have access to wget?