projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add option for multi-process billing to queue additional jobs for the same customer...
[freeside.git]
/
FS
/
bin
/
freeside-check
diff --git
a/FS/bin/freeside-check
b/FS/bin/freeside-check
index
f2d596b
..
fdfc66a
100644
(file)
--- a/
FS/bin/freeside-check
+++ b/
FS/bin/freeside-check
@@
-2,7
+2,6
@@
#!/usr/bin/perl -w
use strict;
#!/usr/bin/perl -w
use strict;
-use Email::Send;
use FS::UID qw( adminsuidsetup );
use FS::Cron::check qw(
check_queued check_selfservice check_apache check_bop_failures
use FS::UID qw( adminsuidsetup );
use FS::Cron::check qw(
check_queued check_selfservice check_apache check_bop_failures
@@
-17,9
+16,9
@@
eval { adminsuidsetup $user };
if ( $@ ) { alert("Database down: $@", @emails); exit; }
if ( $@ ) { alert("Database down: $@", @emails); exit; }
-check_queued or alert(
"Queue daemon not running"
, @emails);
+check_queued or alert(
'Queue daemon not running'
, @emails);
check_selfservice or alert(error_msg(), @emails);
check_selfservice or alert(error_msg(), @emails);
-check_apache or alert(
"Apache not running: "
. error_msg(), @emails);
+check_apache or alert(
'Apache not running: '
. error_msg(), @emails);
check_bop_failures or alert(error_msg(), @emails);
check_bop_failures or alert(error_msg(), @emails);