Guyver
Guyver

Reputation: 165

How to make php print out results based on a given time

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

Answers (1)

bcosca
bcosca

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

Related Questions