Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
html /
gmd.bdcloud.fr /
core /
boxes /
Delete
Unzip
Name
Size
Permission
Date
Action
box_accountancy_last_manual_entries.php
5.06
KB
-rw-r--r--
2022-09-27 16:06
box_accountancy_suspense_account.php
4.04
KB
-rw-r--r--
2022-09-27 16:06
box_actions.php
9.02
KB
-rw-r--r--
2022-09-27 16:06
box_activity.php
16.26
KB
-rw-r--r--
2022-09-27 16:06
box_birthdays.php
4.68
KB
-rw-r--r--
2022-09-27 16:06
box_birthdays_members.php
4.7
KB
-rw-r--r--
2022-09-27 16:06
box_boms.php
5.42
KB
-rw-r--r--
2022-09-27 16:06
box_bookmarks.php
4.42
KB
-rw-r--r--
2022-09-27 16:06
box_clients.php
5.43
KB
-rw-r--r--
2022-09-27 16:06
box_commandes.php
6.94
KB
-rw-r--r--
2022-09-27 16:06
box_comptes.php
6.12
KB
-rw-r--r--
2022-09-27 16:06
box_contacts.php
7.52
KB
-rw-r--r--
2022-09-27 16:06
box_contracts.php
6.3
KB
-rw-r--r--
2022-09-27 16:06
box_customers_outstanding_bill_reached.php
6.04
KB
-rw-r--r--
2022-09-27 16:06
box_dolibarr_state_board.php
14.19
KB
-rw-r--r--
2022-09-27 16:06
box_external_rss.php
6.87
KB
-rw-r--r--
2022-09-27 16:06
box_factures.php
7.46
KB
-rw-r--r--
2022-09-27 16:06
box_factures_fourn.php
7.62
KB
-rw-r--r--
2022-09-27 16:06
box_factures_fourn_imp.php
7.25
KB
-rw-r--r--
2022-09-27 16:06
box_factures_imp.php
8.34
KB
-rw-r--r--
2022-09-27 16:06
box_ficheinter.php
5.62
KB
-rw-r--r--
2022-09-27 16:06
box_fournisseurs.php
5.33
KB
-rw-r--r--
2022-09-27 16:06
box_funnel_of_prospection.php
10.49
KB
-rw-r--r--
2022-09-27 16:06
box_goodcustomers.php
5.59
KB
-rw-r--r--
2022-09-27 16:06
box_graph_invoices_permonth.php
10.15
KB
-rw-r--r--
2022-09-27 16:06
box_graph_invoices_peryear.php
7.66
KB
-rw-r--r--
2022-09-27 16:06
box_graph_invoices_supplier_permonth.php
10.21
KB
-rw-r--r--
2022-09-27 16:06
box_graph_nb_ticket_last_x_days.php
7.76
KB
-rw-r--r--
2022-09-27 16:06
box_graph_nb_tickets_type.php
5.98
KB
-rw-r--r--
2022-09-27 16:06
box_graph_new_vs_close_ticket.php
5.66
KB
-rw-r--r--
2022-09-27 16:06
box_graph_orders_permonth.php
10.44
KB
-rw-r--r--
2022-09-27 16:06
box_graph_orders_supplier_permonth.php
10.49
KB
-rw-r--r--
2022-09-27 16:06
box_graph_product_distribution.php
15.1
KB
-rw-r--r--
2022-09-27 16:06
box_graph_propales_permonth.php
10.56
KB
-rw-r--r--
2022-09-27 16:06
box_graph_ticket_by_severity.php
6.54
KB
-rw-r--r--
2022-09-27 16:06
box_last_modified_ticket.php
6.26
KB
-rw-r--r--
2022-09-27 16:06
box_last_ticket.php
6.45
KB
-rw-r--r--
2022-09-27 16:06
box_lastlogin.php
3.16
KB
-rw-r--r--
2022-09-27 16:06
box_members.php
6
KB
-rw-r--r--
2022-09-27 16:06
box_members_by_type.php
10.78
KB
-rw-r--r--
2022-09-27 16:06
box_members_last_modified.php
6.23
KB
-rw-r--r--
2022-09-27 16:06
box_members_last_subscriptions.php
6.65
KB
-rw-r--r--
2022-09-27 16:06
box_members_subscriptions_by_year.php
7.2
KB
-rw-r--r--
2022-09-27 16:06
box_mos.php
5.44
KB
-rw-r--r--
2022-09-27 16:06
box_produits.php
8.47
KB
-rw-r--r--
2022-09-27 16:06
box_produits_alerte_stock.php
9.33
KB
-rw-r--r--
2022-09-27 16:06
box_project.php
6.75
KB
-rw-r--r--
2022-09-27 16:06
box_propales.php
6.74
KB
-rw-r--r--
2022-09-27 16:06
box_prospect.php
5.67
KB
-rw-r--r--
2022-09-27 16:06
box_scheduled_jobs.php
6.23
KB
-rw-r--r--
2022-09-27 16:06
box_services_contracts.php
8.71
KB
-rw-r--r--
2022-09-27 16:06
box_services_expired.php
6.26
KB
-rw-r--r--
2022-09-27 16:06
box_shipments.php
6.43
KB
-rw-r--r--
2022-09-27 16:06
box_supplier_orders.php
6.47
KB
-rw-r--r--
2022-09-27 16:06
box_supplier_orders_awaiting_reception.php
6.94
KB
-rw-r--r--
2022-09-27 16:06
box_task.php
8.32
KB
-rw-r--r--
2022-09-27 16:06
box_validated_projects.php
6.83
KB
-rw-r--r--
2022-09-27 16:06
modules_boxes.php
14.95
KB
-rw-r--r--
2022-09-27 16:06
Save
Rename
<?php /* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org> * Copyright (C) 2005-2017 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2005-2011 Regis Houssin <regis.houssin@inodbox.com> * Copyright (C) 2017 Nicolas Zabouri <info@inovea-conseil.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. */ /** * \file htdocs/core/boxes/box_scheduled_jobs.php * \ingroup task * \brief Widget of scheduled jobs */ include_once DOL_DOCUMENT_ROOT . '/core/boxes/modules_boxes.php'; /** * Class to manage the box to show last contracted products/services lines */ class box_scheduled_jobs extends ModeleBoxes { public $boxcode = "scheduledjobs"; public $boximg = "object_cron"; public $boxlabel = "BoxScheduledJobs"; public $depends = array("cron"); /** * @var DoliDB Database handler. */ public $db; /** * @var string params */ public $param; public $info_box_head = array(); public $info_box_contents = array(); /** * Constructor * * @param DoliDB $db Database handler * @param string $param More parameters */ public function __construct($db, $param) { global $user; $this->db = $db; $this->hidden = !($user->rights->service->lire && $user->rights->contrat->lire); } /** * Load data into info_box_contents array to show array later. * * @param int $max Maximum number of records to load * @return void */ public function loadBox($max = 5) { global $user, $langs, $conf, $form; $langs->load("cron"); $this->info_box_head = array('text' => $langs->trans("BoxScheduledJobs", $max)); if ($user->rights->cron->read) { include_once DOL_DOCUMENT_ROOT . '/cron/class/cronjob.class.php'; $cronstatic = new Cronjob($this->db); $resultarray = array(); $result = 0; $sql = "SELECT t.rowid, t.datelastrun, t.datenextrun, t.datestart,"; $sql .= " t.label, t.status, t.test, t.lastresult"; $sql .= " FROM " . MAIN_DB_PREFIX . "cronjob as t"; $sql .= " WHERE status <> ".$cronstatic::STATUS_DISABLED; $sql .= " AND entity IN (0, ".$conf->entity.")"; $sql .= $this->db->order("t.datelastrun", "DESC"); $result = $this->db->query($sql); $line = 0; $nbjobsinerror = 0; if ($result) { $num = $this->db->num_rows($result); $i = 0; while ($i < $num) { $objp = $this->db->fetch_object($result); if (dol_eval($objp->test, 1, 1, '')) { $nextrun = $this->db->jdate($objp->datenextrun); if (empty($nextrun)) { $nextrun = $this->db->jdate($objp->datestart); } if ($line == 0 || ($nextrun < $cronstatic->datenextrun && (empty($objp->nbrun) || empty($objp->maxrun) || $objp->nbrun < $objp->maxrun))) { $cronstatic->id = $objp->rowid; $cronstatic->ref = $objp->rowid; $cronstatic->label = $langs->trans($objp->label); $cronstatic->status = $objp->status; $cronstatic->datenextrun = $this->db->jdate($objp->datenextrun); $cronstatic->datelastrun = $this->db->jdate($objp->datelastrun); } if ($line == 0) { $resultarray[$line] = array( $langs->trans("LastExecutedScheduledJob"), $cronstatic->getNomUrl(1), $cronstatic->datelastrun, $cronstatic->status, $cronstatic->getLibStatut(3) ); $line++; } if (!empty($objp->lastresult)) { $nbjobsinerror++; } } $i++; } if ($line) { $resultarray[$line] = array( $langs->trans("NextScheduledJobExecute"), $cronstatic->getNomUrl(1), $cronstatic->datenextrun, $cronstatic->status, $cronstatic->getLibStatut(3) ); } foreach ($resultarray as $line => $value) { $this->info_box_contents[$line][] = array( 'td' => 'class="tdoverflowmax200"', 'text' => $resultarray[$line][0] ); $this->info_box_contents[$line][] = array( 'td' => 'class="nowraponall"', 'textnoformat' => $resultarray[$line][1] ); $this->info_box_contents[$line][] = array( 'td' => 'class="right"', 'textnoformat' => (empty($resultarray[$line][2]) ? '' : $form->textwithpicto(dol_print_date($resultarray[$line][2], "dayhoursec", 'tzserver'), $langs->trans("CurrentTimeZone"))) ); $this->info_box_contents[$line][] = array( 'td' => 'class="center" ', 'textnoformat' => $resultarray[$line][4] ); $line++; } $this->info_box_contents[$line][] = array( 'td' => 'class="tdoverflowmax300" colspan="3"', 'text' => $langs->trans("NumberScheduledJobError") ); $this->info_box_contents[$line][] = array( 'td' => 'class="center"', 'textnoformat' => ($nbjobsinerror ? '<a href="'.DOL_URL_ROOT.'/cron/list.php?search_lastresult='.urlencode('<>0').'"><div class="badge badge-danger"><i class="fa fa-exclamation-triangle"></i> '.$nbjobsinerror.'</div></a>' : '<a href="'.DOL_URL_ROOT.'/cron/list.php"><div class="center badge-status4">0</div></a>') ); } else { $this->info_box_contents[0][0] = array( 'td' => '', 'maxlength' => 500, 'text' => ($this->db->lasterror() . ' sql=' . $sql) ); } } else { $this->info_box_contents[0][0] = array( 'td' => 'class="nohover opacitymedium left"', 'text' => $langs->trans("ReadPermissionNotAllowed") ); } } /** * Method to show box * * @param array $head Array with properties of box title * @param array $contents Array with properties of box lines * @param int $nooutput No print, only return string * @return string */ public function showBox($head = null, $contents = null, $nooutput = 0) { return parent::showBox($this->info_box_head, $this->info_box_contents, $nooutput); } }