Ok, here's a nightmare and a half:
We have the need to automatically generate PHP-based text-file reports for a client at specific time intervals (once a week on a given day and time).
The PHP code itself delves into our database(mySQL), pulls out some exception records, and then dumps these into a text file which we attach to an e-mail and send out.
Can we get a PHP script to recognize time? Or would I have to make some horrendous javascript program that will check time and then feed a header line to the screen that will redirect the browser to the script page (which, when the email was sent, would redirect itself to the javascript page) at given intervals?
Or do I have to delve into the world of Linux shell scripting and write some custom thing that will activate the script based on system time (if that is even possible)?
A little help would be great!