dashboard now calling getcron
This commit is contained in:
1 parent
225c66b8f8
commit
e2bf69f8fe
2 files changed
+7
-2
No files matched your search
@@ -21,4 +21,4 @@ do
|
|||||||
[[ -z $1 || $user = $1 ]] && printf "%-20s %s\n" "$dt" $tag
|
[[ -z $1 || $user = $1 ]] && printf "%-20s %s\n" "$dt" $tag
|
||||||
done |sort
|
done |sort
|
||||||
}
|
}
|
||||||
crondisplay 2>&1 |tee ./web/log.txt
|
crondisplay 2>&1 |tee ./web/streams.txt
|
||||||
+6
-1
@@ -1,3 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
include_once 'header.php';
|
include_once 'header.php';
|
||||||
echo nl2br(file_get_contents( "log.txt" ));
|
$old_path = getcwd();
|
||||||
|
chdir('/var/www/');
|
||||||
|
$output = shell_exec('./getcron');
|
||||||
|
chdir($old_path);
|
||||||
|
|
||||||
|
echo nl2br(file_get_contents( "streams.txt" ));
|
||||||
Reference in new issue
Block a user