|
@@ -227,10 +227,9 @@ class InotifyMonitor {
|
|
|
//扫描目录下所有没有上传到redis文件
|
|
|
public function scan_file()
|
|
|
{
|
|
|
- echo '调用脚本'.PHP_EOL;
|
|
|
-
|
|
|
- //shell_exec("/home/wwwroot/nbfd_tp3/clear_file_redis.sh > /dev/null 2>&1 &");
|
|
|
- echo shell_exec("/home/wwwroot/nbfd_tp3/clear_file_redis.sh");
|
|
|
+
|
|
|
+ shell_exec("/home/wwwroot/nbfd_tp3/clear_file_redis.sh > /dev/null 2>&1 &");
|
|
|
+ // echo shell_exec("/home/wwwroot/nbfd_tp3/clear_file_redis.sh");
|
|
|
return;
|
|
|
}
|
|
|
|