[question] Run php script on Scheduled time

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
fishown
Forum Commoner
Posts: 33
Joined: Sat May 12, 2007 5:35 pm

[question] Run php script on Scheduled time

Post by fishown »

hello again,
So as the title says, i want to execute php script in scheduled time, like every day in 10:00 am, or so...
So my question is if that action is possible , and if so, what are the steps to make it work...

thank you =]
ianhull
Forum Contributor
Posts: 310
Joined: Tue Jun 14, 2005 10:04 am
Location: Hull England UK

Re: [question] Run php script on Scheduled time

Post by ianhull »

Does your server support cron jobs or scheduled tasks?
If it does you can set it up there by simply selecting the time and setting the path to the file to be executed.
fishown
Forum Commoner
Posts: 33
Joined: Sat May 12, 2007 5:35 pm

Re: [question] Run php script on Scheduled time

Post by fishown »

ianhull wrote:Does your server support cron jobs or scheduled tasks?
If it does you can set it up there by simply selecting the time and setting the path to the file to be executed.
This thing is kind new for me,
Ther is any way to find if my server support cron?
Im running Linux - CentOS 5.5

And my website runs on my own server, so if i need to define some thing,
let me know if you know what.
Peter Kelly
Forum Contributor
Posts: 143
Joined: Fri Jan 14, 2011 5:33 pm
Location: England
Contact:

Re: [question] Run php script on Scheduled time

Post by Peter Kelly »

I believe most CENTOS systems come with cronjobs unless you specifically remove it. For more details visit http://www.cyberciti.biz/faq/how-do-i-a ... unix-oses/
Post Reply