• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 239
  • Last Modified:

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

Can I run php script with cron without using apache and how?
0
omnitechnics
Asked:
omnitechnics
1 Solution
 
Jan SpringerCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now