Jump to content
MakeWebGames

CronJobs


zefiux

Recommended Posts

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





			
		
Link to comment
Share on other sites

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.

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...