3 # Stop the print scheduler
5 require './lpadmin-lib.pl';
7 $access{'stop'} == 1 || &error($text{'stop_ecannot'});
8 &error_setup($text{'stop_err'});
9 if ($config{'stop_cmd'}) {
10 $out = &backquote_logged("($config{'stop_cmd'}) 2>&1");
14 &stop_sched(&sched_running());