qtgyjda80 Posted April 25, 2011 Share Posted April 25, 2011 Ok so i thought i fixed my problem but no. My cron jobs are not working for some reason. I have v1 This is what i have put in. */5 * * * * php -f /home/myusername/videoshare.co.cc/cron_fivemins.php 0 0 * * * php -f /home/myusername/videoshare.co.cc/cron_day.php http://videoshare.co.cc , i will set up a demo account username:demo pass:demo The energy bar or nothing will go up. I have all crons set and everything, anyone have any suggestions? Quote Link to comment Share on other sites More sharing options...
sniko Posted April 25, 2011 Share Posted April 25, 2011 Does v1 have the code confirmation? Quote Link to comment Share on other sites More sharing options...
qtgyjda80 Posted April 25, 2011 Author Share Posted April 25, 2011 yes. the webhost i use told me not to use the php?code=########## I tried but they wouldnt let me. so i just used the path to the file. Quote Link to comment Share on other sites More sharing options...
Dominion Posted April 25, 2011 Share Posted April 25, 2011 Well then did you take the if() out the file? Also i would think about other ways to stop others running your page. Quote Link to comment Share on other sites More sharing options...
sniko Posted April 25, 2011 Share Posted April 25, 2011 Prior to this whole situation, did you check your host allows crons? or crons to the level you need them (1 minute and 5 minute)? Quote Link to comment Share on other sites More sharing options...
bineye Posted April 25, 2011 Share Posted April 25, 2011 try running them manually. if they work, the problem is with the host Quote Link to comment Share on other sites More sharing options...
qtgyjda80 Posted April 26, 2011 Author Share Posted April 26, 2011 How can i run them manually and is there a way i can get the code again? without reinstalling? Quote Link to comment Share on other sites More sharing options...
qtgyjda80 Posted April 26, 2011 Author Share Posted April 26, 2011 Just and update, I asked my host if they could manually install the cronjobs for me. I gave them the info and they replied back that they dont allow some of the characters in the url file thing with code attached. http://yourdomain.com/cron_fivemins.php?code=<YOURCODE>" they wont allow the ?code=mycode. what do i do? they said i could use just use the file url /cron_fivemins.php Do i have to edit something some where for this to work? Quote Link to comment Share on other sites More sharing options...
rulerofzu Posted April 26, 2011 Share Posted April 26, 2011 The code part is so you can place it in your webroot (www directory) and people cannot run the cron manually without knowing the code. Move the crons out of the www folder and then remove the ?code part and it will run fine. Quote Link to comment Share on other sites More sharing options...
lucky3809 Posted April 26, 2011 Share Posted April 26, 2011 (edited) Your code can be found in your config.php page If you cant get them to work use this way of doing your crons... http://makewebgames.io/showthread.php/32642-any-version-Removal-of-1-minute-crons Edited April 26, 2011 by lucky3809 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.