PREV INDEX NEXT    SLUUG HOME

SQL in KSH
Running SQL Scripts in Kornshell

Automating Your Scripts (1)


ISSUES TO DEAL WITH

  1. Flexibility: make sure functions manually or in background, nohup, or cron


  2. Depend on nothing, not .profile, /etc/profile, environment such as $PATH or $HOME


  3. Specify all I/O (stdin, stdout, stderr)


  4. Test everything! (read/write all files/dirs, success/fail of every statement


  5. Log everything, so you will know what went wrong



2002 April 10
Tom Chapin -- 314-721-3581 -- tjc@mvp.net