Page 1 of 1

time triggered programming in php

Posted: Thu Jul 23, 2009 7:29 am
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?

Re: time triggered programming in php

Posted: Thu Jul 23, 2009 7:37 am
by Eran
Yes. In linux this is called a cron job, and on windows you the task scheduler

Re: time triggered programming in php

Posted: Thu Jul 23, 2009 8:32 am
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?