Posted By

sveggiani on 06/02/10


Tagged

cakephp not-mine


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

rascoop
echo419r
Plotarius
tmmyy


Program cron job of a cakephp action


 / Published in: PHP
 

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

  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

Report this snippet  

You need to login to post a comment.