• Cron Job setup.
    2 replies, posted
I have several questions: How would I use cron to run my PHP file with a GET or a POST parameter.(I need that for a check so not everyone can call the file. I know .htaccess can block directories from being opened but if it works on a file-by-file basis could someone tell me how? ) Thanks and in case I was not clear. I have a PHP file that should not be run by anyone so I added a password check(easy one).
maybe you could make a shell script the executes the script inside w3m (w3m [url]http://localhost/whatever[/url]) and then the cron job just executes that script.
[url]http://www.htmlcenter.com/blog/running-php-scripts-with-cron/[/url] PHP has a binary which can parse and run PHP scripts from the shell.
Sorry, you need to Log In to post a reply to this thread.