I've got a web site I'm working on (mostly PHP) and I need to run a function periodically; for instance, every day at 2AM or the like. Any recommendations on how to set this up (for example, is there a way to run a PHP file as a cron job, and if so, how) ?
As a follow-on, is there a way to prevent Joe Browser from calling this function? For instance, can cron successfully invoke a PHP file outside of htdocs -- again, if so, how?
Thanks,
Stephen
As a follow-on, is there a way to prevent Joe Browser from calling this function? For instance, can cron successfully invoke a PHP file outside of htdocs -- again, if so, how?
Thanks,
Stephen