Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 7th, 2012  |  syntax: None  |  size: 0.31 KB  |  views: 17  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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
clone this paste RAW Paste Data