0

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

3
  • 2
    I'll google for you :) google.com/search?q=cron+job+php Commented Oct 9, 2013 at 11:17
  • There isn't. What you need to do is to set up a cron job that will call Apache, e.g. using lynx, or directly your script. Commented Oct 9, 2013 at 11:18
  • you mean a cron job? Cron. For Linux servers Cron Linux Apache Commented Oct 9, 2013 at 11:18

4 Answers 4

1

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

Sign up to request clarification or add additional context in comments.

Comments

1

Cron job is what you'are looking for. A Generator HERE

Comments

0

Read about http://www.linuxweblog.com/crotab-tutorial or write a daemon :)

Comments

0

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/

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.