SHARE
TWEET

Untitled

a guest May 7th, 2012 17 Never
  1. Set cron job for absolute path
  2. wget --spider 'http://www.xyz.com/controllera/functiona'
  3.        
  4. /usr/bin/php /path/to/index.php controller/method
  5.        
  6. wget http://www.xyz.com/controllera/functiona
  7.        
  8. # run everyday at 3 pm a GET HTTP request
  9.    0 15 * * *  /usr/bin/wget http://www.xyz.com/controllera/functiona
RAW Paste Data
Top