Program cron job of a cakephp action


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. // Linux command:
  2. // lynx --dump http://www.domain.com/controller/action/ >/dev/null
  3.  
  4. // So for a cron job:
  5. // */5 * * * * lynx --dump http://www.domain.com/controller/action/ > /dev/null

URL: http://bakery.cakephp.org/articles/view/calling-controller-actions-from-cron-and-the-command-line

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.