Changeset 34 for trunk


Ignore:
Timestamp:
Feb 19, 2018, 9:57:51 PM (7 years ago)
Author:
gegorbet
Message:

fix update_notice.php for generalized package file and to use us3_notice db user, not root

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/update_notice.php

    r33 r34  
    66
    77// Get the US3 system release of latest file on download site
    8 $s_cmd1 = "ssh us3@ultrascan.uthscsa.edu 'ls -t /srv/www/htdocs/ultrascan3/software/*4.0*";
     8$s_cmd1 = "ssh us3@ultrascan.uthscsa.edu 'ls -t /srv/www/htdocs/ultrascan3/software/us3*";
    99$s_cmd1 = "$s_cmd1 | sed -n 1p | cut -d\- -f3" . "'";
    1010$s_cmd2 = exec( $s_cmd1 );
     
    1414$notice_db  = "us3_notice";
    1515$dbhost     = "localhost";
    16 $dbuser     = "root";
    17 $dbpassw    = exec( "cat ~/.sec/.pwsq" );
     16$dbuser     = "us3_notice";
     17$dbpassw    = "us3_notice";
    1818
    1919// Produce some output temporarily, so cron will send me message
Note: See TracChangeset for help on using the changeset viewer.