title: Creating PHP Bots for site maintenance
body: <p>I have a PHP website in which, when a member visits a page, a series of database maintenance actions are made. </p>
  
  <p>For example, in a common page, I've included a PHP script which checks how many posts <em>every user</em> has made and updates the database giving them points accordingly.</p>
  
  <p>The problem with this method is that my website has 100+ members, and I'm worried that my scripts start to slow down as my memberbase grows.</p>
  
  <p>Is there any way to code a bot in PHP, so my database can be updated without the user's intervention?</p>