6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/22/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#1664] Delete Vacation DB on Disable
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..___.___. . | |[__ [__ | | |___\__|[___| |/\|
Comment
> Ah, I see what you are saying now. The following lines of the > generated script handle deleting an old database: > > > > 5: FILEDATE=`ls -lcn --time-style=+%s > 'vacation.test@ben.chavet.net' | awk '{ print $6 + (604800) }'` > > 6: DATE=`date +%s` > > 7: DUMMY=`test $FILEDATE -le $DATE && rm 'vacation.test@ben.chavet.net'` > > > > The database is deleted if it was created more than X days ago, where > X is the user-defined "Number of days between vacation replies" on > the vacation form. So, re-enabling the vacation script will result > in a new database if it has been more than X days since it was > created. > > > > So, this functionality isn't exactly obvous from the user's > perspective. But if we hide the database files, it should just be a > transparent thing that "just works" for the user. > > > > The only potential problem I can see with this is if the user chooses > some insanely large number of days to keep the database.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers