mirror of
https://github.com/webmin/webmin.git
synced 2025-07-23 00:30:33 +00:00
Fail more gracefully
This commit is contained in:
@ -21,6 +21,11 @@ if (!&has_command("at")) {
|
||||
"../config.cgi?$module_name"));
|
||||
}
|
||||
|
||||
# Check if OS is supported
|
||||
if (!defined(&list_atjobs)) {
|
||||
&ui_print_endpage(&text('index_nostyle', "../config.cgi?$module_name"));
|
||||
}
|
||||
|
||||
# Show list of existing jobs
|
||||
my @jobs = &list_atjobs();
|
||||
@jobs = grep { &can_edit_user(\%access, $_->{'user'}) } @jobs;
|
||||
|
@ -19,6 +19,7 @@ index_amode1=Only listed users ..
|
||||
index_amode2=All except listed users ..
|
||||
index_delete=Cancel Selected Commands
|
||||
index_noat=The $1 command was not found on your system - maybe it is not installed, or not available for your operating system.
|
||||
index_nostyle=Webmin does not know how to manage schedule commands on this operating system.
|
||||
|
||||
edit_title=Scheduled Command
|
||||
edit_cmd=Full script to execute
|
||||
|
Reference in New Issue
Block a user