time triggered programming in php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ducklord
Forum Newbie
Posts: 2
Joined: Thu Jul 23, 2009 7:26 am

time triggered programming in php

Post by ducklord »

Is it possible for a web server to run a php script at a certain time?

for example I want to send a email to someone at 23:59 23 July 2009. Is it possible?
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: time triggered programming in php

Post by Eran »

Yes. In linux this is called a cron job, and on windows you the task scheduler
ducklord
Forum Newbie
Posts: 2
Joined: Thu Jul 23, 2009 7:26 am

Re: time triggered programming in php

Post by ducklord »

what if the server is a remote one and I can't access task scheduler on the remote system?

is there a php script or a apache-based script available on the net that is similar to cron and task scheduler?
Post Reply