Is it possible to set up a cron job that will execute a php script?
I have a php file and i want to run every 15 minutes using cron job.
My php file path: http://www.sitename.com/runcron.php
full path: /var/www/vhosts/sitename/httpdocs/runcron.php
I using centos server.
Thank you
Add this line to your crontab, and make sure the location of
phpis correct (check it out withwhich php).That’s simple 😉