# Don't output any unnecessary junk. Cron might mail it to someone.
if dom_difference.size > 0 or acct_difference.size > 0
-
# The header that we output before the list of accounts.
# Just the path of this script, and the current time.
header = "#{$0}, "
puts header
puts '-' * header.size # Underline the header.
- puts dom_difference
- puts acct_difference
+
+ dom_difference.each do |domain|
+ puts domain + " (#{dms.get_domain_path(domain)})"
+ end
+
+ acct_difference.each do |account|
+ puts account + " (#{dms.get_account_path(account)})"
+ end
+
puts ""
end