using CLI version of php with cron

Avatar
  • Answered
how to use the CLI version of php to run a cron job? I used php -q but it failed because the CLI version is required for the script i need to run...
Avatar
Scott
Hello kazesyxers,

Thank you for your question on command line php. Instead of using php -q, you can use php-cli. That should allow you to use the CLI mode for the Cron job.

Kindest Regards,
Scott M