Vamps Posted June 1, 2011 Share Posted June 1, 2011 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 Quote Link to comment Share on other sites More sharing options...
Dominion Posted June 1, 2011 Share Posted June 1, 2011 Check if your host limits the minimum amount of time a cron can run for, some limit it to 15 mins or lower (as in don't allow 14 mins or below). If there’s an error post it. Quote Link to comment Share on other sites More sharing options...
Vamps Posted June 1, 2011 Author Share Posted June 1, 2011 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 Quote Link to comment Share on other sites More sharing options...
Rory_M Posted June 1, 2011 Share Posted June 1, 2011 If if there is an error you can try making a timestamp if you know how to, if not i'm sure you will be able to find tutorials. :) Quote Link to comment Share on other sites More sharing options...
rulerofzu Posted June 1, 2011 Share Posted June 1, 2011 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. Quote Link to comment Share on other sites More sharing options...
Vamps Posted June 3, 2011 Author Share Posted June 3, 2011 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? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.