zefiux Posted February 7, 2012 Share Posted February 7, 2012 Is CronJobs only way to set up Various renegeration in game? Host I'm using doesn't support cronjobs with special characters in it, and cronjob for that engine(ezRPG), command is: cron5min.php?code=*code* I couldn't find any tutorial for this. :/ Quote Link to comment Share on other sites More sharing options...
Djkanna Posted February 7, 2012 Share Posted February 7, 2012 As far as I know, you can use the path, when setting up cron jobs (anyone verify this?), if that's the case, move them out of your public directory, then you shouldn't need the code. Quote Link to comment Share on other sites More sharing options...
zefiux Posted February 7, 2012 Author Share Posted February 7, 2012 As far as I know, you can use the path, when setting up cron jobs (anyone verify this?), if that's the case, move them out of your public directory, then you shouldn't need the code. Yes, I can choose path. It starts as: php -f /home/a*******/ and from here on, I finish path like public_html/cron5min.php Quote Link to comment Share on other sites More sharing options...
Djkanna Posted February 7, 2012 Share Posted February 7, 2012 Then how about storing your cron files, within /home/name/crons/ then they cannot be accessed by domain/... That way you should be able to remove the part that checks for the code, I would wait for someone else to comment on this before putting such a solution live, as I've got no idea if there is any downfalls (I'm sure there is, as why wouldn't everyone do this, if they could). If this isn't good enough, you could try some form of 'cronless crons', which you can find information about here somewhere. 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.