Changeset 34
- Timestamp:
- Feb 19, 2018, 9:57:51 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/update_notice.php
r33 r34 6 6 7 7 // 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*"; 9 9 $s_cmd1 = "$s_cmd1 | sed -n 1p | cut -d\- -f3" . "'"; 10 10 $s_cmd2 = exec( $s_cmd1 ); … … 14 14 $notice_db = "us3_notice"; 15 15 $dbhost = "localhost"; 16 $dbuser = " root";17 $dbpassw = exec( "cat ~/.sec/.pwsq" );16 $dbuser = "us3_notice"; 17 $dbpassw = "us3_notice"; 18 18 19 19 // Produce some output temporarily, so cron will send me message
Note:
See TracChangeset
for help on using the changeset viewer.