Jump to content
MakeWebGames

McCode LIte/Free Cron Job Failing to install


Vamps

Recommended Posts

good afternoon all.

I'm experimenting with the free version of MCCode on my home based webserver.

install goes thru with no problems, then gives me the cron jobs to add. I dont use cPanel, as for personal use its quite expensive. I use VirtualMin. i go in to the cron jobs, and try to add the 5min cron and get an error every time. The 1 day cron sets up with no prob.

is this a restriction based on the free/lite version or something in my server i've not seen yet.

thanks for the info and help.

Vamps

Link to comment
Share on other sites

Dominion,

thanks for the quick Response.

The host is my personal webserver. so i am the host. I will have to read the docs to find out how to change the cron timings. here is the error i get when settin up the cron

 

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

crontab: installing new crontab

"/tmp/crontab.IrWhYj/crontab":1: bad command

errors in crontab file, can't install.

Do you want to retry the same edit? crontab: edits left in /tmp/crontab.IrWhYj/crontab

# DO NOT EDIT THIS FILE - edit the master and reinstall.

# (/tmp/crontab.ROxNO7/crontab installed on Mon May 30 20:35:43 2011)

# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)

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

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

Link to comment
Share on other sites

rulerofzu

The issue is that your trying to put them into the master crontab file which is not where personal crons run from. This is the area you run server crons from which are part of the server management.

You *can* put them in there but I wouldnt

Zu, much thanks for that. i surely could tell ya i wasnt thinking when i add them in that section.

I did login in to my "client" area where the code is setup. let me put some details in so you guys know what i'm working with.

CentOS 5.5 updated

Kloxo Panel

McCode Lite

everything minus the cron jobs will set up. well.. they are there, but when addin them i get an error message that states they will not install and to delete them and start over.

everything but the crons is working fine. i can log in to the game edit the mysql and all. so i'm a bit stuck as to why Kloxo is giving such a problem on the client end with crons.

Any thoughts?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...