| Server IP : 89.117.53.150 / Your IP : 216.73.216.11 Web Server : Apache System : Linux server2.hostofiraq.site 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64 User : iscmbt-kufa-atu ( 1014) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/webmin/cron/ |
Upload File : |
#!/usr/bin/perl
# Save a manually edited cron job
require './cron-lib.pl';
&ReadParseMime();
&error_setup($text{'manual_err'});
$access{'mode'} == 0 || &error($text{'manual_ecannot'});
# Validate the file and update it
my @files = &list_cron_files();
&indexof($in{'file'}, @files) >= 0 || &error($text{'manual_efile'});
$in{'data'} =~ s/\r//g;
$in{'data'} .= "\n" if ($in{'data'} !~ /\n$/);
&open_lock_tempfile(FILE, ">$in{'file'}");
&print_tempfile(FILE, $in{'data'});
&close_tempfile(FILE);
&webmin_log("manual", undef, $in{'file'});
&redirect("index.cgi?search=".&urlize($in{'search'}));