%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,mail,shell_exec,system,proc_open,popen,ini_alter,dl,proc_close,curl_exec,curl_multi_exec,readfile,parse_ini_file,escapeshellarg,escapeshellcmd,show_source,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,mail,php_uname,phpinfo MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/webmin/cron/ |
Upload File : |
do 'cron-lib.pl'; # useradmin_create_user(&details) sub useradmin_create_user { } # useradmin_delete_user(&details) # Delete this user's cron file sub useradmin_delete_user { &lock_file("$config{'cron_dir'}/$_[0]->{'user'}"); unlink("$config{'cron_dir'}/$_[0]->{'user'}"); &unlock_file("$config{'cron_dir'}/$_[0]->{'user'}"); } # useradmin_modify_user(&details, &old) sub useradmin_modify_user { # If a user's login name has changed, update all his Cron jobs if ($_[0]->{'user'} ne $_[0]->{'olduser'}) { if (-r "$config{'cron_dir'}/$_[0]->{'olduser'}") { &rename_logged("$config{'cron_dir'}/$_[0]->{'olduser'}", "$config{'cron_dir'}/$_[0]->{'user'}"); } foreach $j (&list_cron_jobs()) { if ($j->{'user'} eq $_[0]->{'olduser'}) { &lock_file($j->{'file'}); $j->{'user'} = $_[0]->{'user'}; &change_cron_job($j); &unlock_file($j->{'file'}); } } } # If the user's home has changed, update all Cron job paths if ($_[1] && $_[1]->{'home'} ne '/' && $_[0]->{'home'} ne $_[1]->{'home'}) { foreach $j (&list_cron_jobs()) { if ($j->{'user'} eq $_[0]->{'user'}) { if ($j->{'command'} =~ s/$_[1]->{'home'}/$_[0]->{'home'}/g) { &lock_file($j->{'file'}); &change_cron_job($j); &unlock_file($j->{'file'}); } } } } } 1;