added a foreach loop to print out a crontab line-by-line to crontab_view.php
This commit is contained in:
@@ -13,9 +13,9 @@
|
||||
|
||||
switch ($action) {
|
||||
case "list":
|
||||
$res = $db->query("SELECT crontab_path FROM crontabs;");
|
||||
$res = $db->query("SELECT crontab_id, crontab_path FROM crontabs;");
|
||||
while ($row = $res->fetchArray()){
|
||||
exit;
|
||||
echo "<button onclick=loadCrontab({$row['crontab_id']})>{$row['crontab_path']}</button><br>";
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user