Ubuntu

curl -s https://[WEBSITEURL].com/[LOCATION TO SCRIPT].php >> /home/[LOCATION TO LOG]/cronlog.txt 2>&1

CentOs

php -f /home/[LOCATION TO SCRIPT].php >> /home/[LOCATION TO LOG]/cronlog.txt 2>&1