Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run a php script automatically daily? [duplicate]

Tags:

php

mysql

cron

Possible Duplicate:
How to run a php script in cron

I need to run a php script at the scheduled time daily to update some fields in database and to send automated email. How I can do this?

Is it possible to write some service in XAMP server to run the script daily at scheduled time? I have no idea how to update database and send email automatically at the scheduled time. Can any one share some ideas or concepts?

I am using PHP and MySQL running in Linux Server.

like image 342
Pramod Gupta Bavirisetty Avatar asked Nov 09 '12 18:11

Pramod Gupta Bavirisetty


1 Answers

Is it possible to write some service in XAMP server to run the script daily at scheduled time?

Create a Cron Job.

like image 164
Jason McCreary Avatar answered Oct 20 '22 10:10

Jason McCreary