Reputation: 35
I wanted to know if there was a way to configure Apache to automatically run a php script at a particular time without need for me being online, as long as my server is active
Upvotes: 0
Views: 619
Reputation: 9396
A Cron Job
is what you are looking for, mostly your hosting provide you with this service, if you are using a dedicated
server, you can generate a cron
here http://www.generateit.net/cron-job/ or here is a little tutorial for it: http://www.linuxweblog.com/crotab-tutorial
Upvotes: 1
Reputation: 505
A cron is what you are looking for.
If you server is Linux, you can add an entry to your chrontab: http://www.tecmint.com/11-cron-scheduling-task-examples-in-linux/
Upvotes: 0
Reputation: 736
Read about http://www.linuxweblog.com/crotab-tutorial or write a daemon :)
Upvotes: 0