dashboard now calling getcron

This commit is contained in:
chestnutit committed 2024-07-23 08:59:17 +07:00
1 parent 225c66b8f8
commit e2bf69f8fe
2 files changed
+7 -2

No files matched your search

+6 -1
View File
@@ -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" ));