dashboard now calling getcron
This commit is contained in:
parent
225c66b8f8
commit
e2bf69f8fe
2
getcron
2
getcron
@ -21,4 +21,4 @@ do
|
||||
[[ -z $1 || $user = $1 ]] && printf "%-20s %s\n" "$dt" $tag
|
||||
done |sort
|
||||
}
|
||||
crondisplay 2>&1 |tee ./web/log.txt
|
||||
crondisplay 2>&1 |tee ./web/streams.txt
|
||||
@ -1,3 +1,8 @@
|
||||
<?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" ));
|
||||
Loading…
Reference in New Issue
Block a user