Jump to content

PHP script to process out email at a specifc time


gregcaulder

Recommended Posts

I want to be able to have a PHP scrip be processed out at a specific time on the server.

 

Such as reports to be emailed out later, of product reports, orders that were placed that day, and product stock count being too low. Any old kind of reports that have to be executed out at a later time in the day. meaning not immediate.

 

Here is my server setup.

 

PHP 5.2.1

IIS 6.0

MySQL 5.0.22

Windows Server 2003 Enterprise

 

 

Greg Caulder

Maybe you can try scheduled task..

 

 

This is a great idea. The problem is what if the site has to have a user login and password, and I don't want to leave the file open to anyone to stumble onto. A workaround to that is to just execute the file that is located locally on the computers hard disk. But the true problem is how can i have it close the browser window after it has completed it tasks, say it should be done after 5 minutes of leaving the window open. Any suggestions?

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.