IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 29, 2021, 2:53:32 PM (5 years ago)
Author:
eugene
Message:

ippMonitor scripts are now installed in a distinct location so they can be modified independently of the IPP code for both development and operations installations; disabled the "cleanTmpDirectory" option from the website

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippMonitor/raw/cleanTmpDirectory.php

    r28608 r41730  
    1414
    1515
    16 exec("find /tmp -user apache", $output, $status);
     16echo "This function has been deprecated (EAM 2021.07.28)\n";
    1717
    18 echo "<html><body>\n";
    19 echo "Cleaning /tmp file (removing all files belonging to user apache)<br><br>\n";
    20 $count = 0;
    21 foreach ($output as $key => $value) {
    22   echo "Deleting [$value]<br>\n";
    23   exec("rm -f $value");
    24   $count++;
     18if (0) {
     19   exec("find /tmp -user apache", $output, $status);
     20
     21   echo "<html><body>\n";
     22   echo "Cleaning /tmp file (removing all files belonging to user apache)<br><br>\n";
     23   $count = 0;
     24   foreach ($output as $key => $value) {
     25     echo "Deleting [$value]<br>\n";
     26     exec("rm -f $value");
     27     $count++;
     28   }
     29   echo "<br>/tmp cleaned ($count files were deleted)<br>\n";
    2530}
    26 echo "<br>/tmp cleaned ($count files were deleted)<br>\n";
    2731echo "</body></html>\n";
    28 
    2932
    3033menu_end();
Note: See TracChangeset for help on using the changeset viewer.