title: Run MySQL Query after wget finishes downloading file
body: <p>I need to run a specific mysql query upon wget, which is running in the background, finishes downloading a file. For example...</p>
  
  <blockquote>
    <p>wget <a href="http://domain/file.zip" rel="nofollow noreferrer">http://domain/file.zip</a> </p>
  </blockquote>
  
  <p>then run:</p>
  
  <blockquote>
    <p>UPDATE <code>table</code> SET <code>status</code> = 'live' WHERE <code>id</code> = '1234'</p>
  </blockquote>
  
  <p>How would I go about doing this?</p>