Advertisement
Guest User

Untitled

a guest
May 7th, 2012
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement