CronJob create error

Hello all,
My name is Vamps and im new here at VM.
I just installed V on ubuntu 10.04 with out a problem(love the auto install script).
i setup a Host(website) and i’m using it to test a text based game.
here’s where i run in to a problem.
when attempting to create the cron job for the game i get this error

Cron Job to add
*/5 * * * * curl http://192.168.1.100/cron_fivemins.php?code=5398fba2d647b533acd811a006e3fc5c

Cron Job Creation Error

Failed to save cron job : An error was detected in the new Cron configuration :

no crontab for rpsgames - using an empty one
crontab: installing new crontab
“/tmp/crontab.46FxdZ/crontab”:0: bad command
errors in crontab file, can’t install.
Do you want to retry the same edit? crontab: edits left in /tmp/crontab.46FxdZ/crontab

5 * * * * */5 * * * * curl http://192.168.1.100/cron_fivemins.php?code=5398fba2d647b533acd811a006e3fc5c

If someone could let me in on some help with this i would be greatful.
Thanks all

Howdy,

It looks like Cron is saying that what’s being added is invalid for some reason.

One thing you might try, just for starters, is to add that command to run once an hour, rather than every 5 minutes, just to see if that works.

If that doesn’t work either – try using the full path to “curl”… that is, use “/usr/bin/curl” rather than just “curl”.

-Eric

Hey Eric,
the cron job that i’m setting up is based on a text based game. the 5min job is for HP and energy and stuff like that. i will include the needed cron jobs so you see what i’m working with.

*/5 * * * * curl http://192.168.1.100/cron_fivemins.php?code=5398fba2d647b533acd811a006e3fc5c
0 0 * * * curl http://192.168.1.100/cron_day.php?code=5398fba2d647b533acd811a006e3fc5c

I cause replace “curl” with its full path if you think that would work.
let me know.

Well, I’m not sure what the problem is at the moment, so I was just tossing out things to try for the sake of troubleshooting :slight_smile:

Are you having problems with adding both of those cron jobs, or just the one?

-Eric

No Prob, Eric,
All help is apprecaited.

Ok so i added the day cron job with no problem. So i think there’s something incorrect maybe in the first one
I’ll have to get with the creator of the php.
if you have other thoughts… let me know.
THanks again