I've just run into my biggest problem to date.
I've been programming a file that updates every hour, and is triggered by a user navigating the page. It determines when to update by testing the time that the database was last updated, compared to the current time.
This update script is a CRITICAL script that must run, and if the user who navigates to this page where to cut off the execution of the script in any way whatsoever, and the script weren't fully executed, it would prove to be overwhelmingly devistating.
What I need to know is this:
1. Is there any way to FORCE the complete execution of a script my current way.
or
- How can I make a script run every hour in a way where a user wouldn't be able to stop the execution of a script.
I tried downloading a cron exe for windows, and set it to execute my php scripts with php.exe, but this doesn't seem to be working (I can get it to execute with php.exe, but php.exe doesn't seem to do things like update the database).
THIS IS A CRITICAL QUESTION FOR ME! SOMEBODY PLEASE HELP!