title: How to set command for cron job cake php
body: <p>I am working in cake php Now I want to send weekly status mail to all register user for this i have get all user detal and weekly activity detail </p>
  
  <p>and added mail function in user/test  usercontroller and test action Here I am getting all user and their weekly detail and after that sending mail.</p>
  
  <p>When i hit this url it send mail in my inbox </p>
  
  <p>I want how we can add this controller action in cron job cpanel ?</p>
  
  <p>Currently I am giving full path in C PANEL cron job "command" section </p>
  
  <pre><code>   php -q http://example.com/users/test
  </code></pre>
  
  <p>Thanks</p>