Jump to content

What permissions to set on a file to make it only accessable to CRON JOB?


physaux

Recommended Posts

Hey guys, I finished writing a script and I want to schedule it. My only issue is that I don't know how to reference it if it isn't in public_html, but I don't know how to secure it if it is in html.

 

Any ideas?

 

for now I use something like this: wget -q http://site.com/.../cron.php

Which works fine but the problem is anyone could activate that. I want only cron to be able to do it. Any ideas?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.