==================================================================
Please DO NOT REPLY to this mail or send email to the developers
about this bug. Please follow-up to Bugzilla using this link:
http://bugs.contribs.org/show_bug.cgi?id=9065
Have you checked the Frequently Asked Questions (FAQ)?
http://wiki.contribs.org/SME_Server:Documentation:FAQ
Please also take the time to read the following useful guide:
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================
Stefano Zamboni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #8 from Stefano Zamboni <[email protected]> ---
I'd just change /sbin/e-smith/vacation/check_vacation_dates.sh to echo only
relevant info, i.e. enabling/disabling vacation mode..
I mean.. I (admin) need to know only status changes, not all
alternatively, a db key can set a verbosity level..
0 -> echo nothing
1 -> echo only status change
2 -> echo everything
AFAIK, if a cron script has not any outout, it won't generate a mail
moreover, I'd also add a db key to add, in
elif [ `db accounts getprop $key EmailVacationTo` == $CURRENT_DATE ]
then
echo "Back to work, $key"
db accounts setprop $key EmailVacation no
else
part, a call to /usr/local/bin/vacation -s $key
in this way, user coming back to work will find a list of emails..
if anybody will find it interesting/usefull, I'll try to make a patch (and we
should clone this bug into a new NFR)
--
You are receiving this mail because:
You are the QA Contact for the bug._______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at http://lists.contribs.org/mailman/public/contribteam/