Ignore:
Timestamp:
03/21/16 15:55:15 (8 years ago)
Author:
labetoulle
Message:
  • Run everything (DB inserts + plots) from single bash script
  • Change exit codes (unsigned in bash, so no negative values...) :
    • 0: everything was ok;
    • 1: nothing done, 'cause nothing to do => ok;
    • >= 2: error.
  • DB access now needs password
  • plot_bilan: added date of production and plotted range to image
  • Cleaning (useless comments, ...)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TOOLS/ConsoGENCI/trunk/bin/init_conso_tbl.py

    r2776 r2783  
    7777    db_data.db_host, 
    7878    db_data.db_name, 
    79     db_data.db_user 
     79    db_data.db_user, 
     80    db_data.db_pwd, 
    8081  ) 
    8182 
     
    175176    print("Close connection") 
    176177  cdb.close_db(conn) 
     178 
     179  exit(0) 
Note: See TracChangeset for help on using the changeset viewer.