title: Should CONNECT work in SQL*PLUS script?
body: <p>I'd like to run a sqlplus script from a cron job.</p>
  
  <p>I thought I could put a line like:</p>
  
  <pre><code>CONNECT "myuser/mypass@mydb"
  </code></pre>
  
  <p>within the script and then just execute it with:</p>
  
  <pre><code>sqlplus @myscript
  </code></pre>
  
  <p>However, when I do so, I get:</p>
  
  <pre><code>SP2-0306: Invalid Option
  SP3-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
  </code></pre>
  
  <p>Am I misunderstanding the usage of the connect command?</p>