You may use the following syntax to run php script from your schedule task :-

/usr/bin/php /var/www/vhost/yourdmain.com/httpdocs/script-name.php

Was this answer helpful? 0 Users Found This Useful (3 Votes)