i am seting a Cron Job but its not executing

Avatar
  • Answered
I need to know what command it required to run cron job in you server
I am currently using * * * * * php -q/home/username/public_html/test.php
But my file is not running
Avatar
IMH Support Agent 5
Hello, Thank you for your question about running cron jobs. We have guide on how to run a cron job through cPanel. Alternatively, as in most conventional Linux systems, you can ssh into the server and add a line to the crontab file (usually in the `/etc` directory). If the example provided is the exact code you're using, make sure to put in the time parameters where you have the asterisks. Best, Christopher M.