Last Updated: June 14, 2018
·
692
· wern

Execute php script with cpanel cron

/usr/bin/php -q /home/username/public_html/email.php

1 Response
Add your response

Setting up cron jobs with cpanel is a time taking task. You have to specify all the scheduling manually and then execute the script manually. This is why I find Cloudways PHP site hosting platform better because it provides a simple UI where you can schedule the cron jobs easily and quickly.

over 1 year ago ·

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Did you know?

PHP applications still send a browser full of JavaScript. Hardening the server does not inventory the payment, analytics, and plugin scripts that run after the HTML is delivered.

Security insights from Cside