title: Running two commands sequentially in a cron job?
body: <p>I have two commands in a cron job like this:</p>
  
  <pre><code>mysql -xxxxxx -pyyyyyyyyyyv -hlocalhost -e "call MyFunction1";wget -N http://mywebsite.net/path/AfterMyFunction1.php
  </code></pre>
  
  <p>but it seems to me that both of them are running at the same time.</p>
  
  <p>How can I make the first command run and when it completes, execute the second command?</p>
  
  <p>Also the AfterMyFunction1.php have javascript http requests that are not executed when I use wget. It works if I opened AfterMyFunction1.php in my webbrowser.</p>