Solved

Can I run php script with cron without using apache and how

Posted on 2011-02-25
1
170 Views
Last Modified: 2012-05-11
Can I run php script with cron without using apache and how?
0
Comment
Question by:omnitechnics
1 Comment
 
LVL 28

Accepted Solution

by:
Jan Springer earned 125 total points
ID: 34979515
An example of running every 5 minutes:

*/5 * * * * USER /usr/bin/php /full/path/to/script.php

substitute "USER" with the username that you want it to run as
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Employ management and Helpdesk software 4 33
Nginx CDN 12 114
Server specifications for web hosting 7 88
Apache 2.2 on Windows 2008 32 53
Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
This video discusses moving either the default database or any database to a new volume.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now