Reputation: 165
Is there a way to make php print out some results based on a given time? Say I tell it to
echo"BEANS";
at 12:00pm tomorrow.
Upvotes: 0
Views: 142
Reputation: 17555
PHP web applications are meant to run for only a few seconds to a couple of minutes. Start a cron job to run that PHP script @12pm. On Windows, use Task Scheduler.
Upvotes: 5