[rt-users] VB: reminders?
Martin Petersson
martin at uanet.se
Thu Mar 8 16:34:16 EST 2012
Sorry to bother again but
Can i have it like this /etc/crontab?
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
0 6 * * * root /opt/rt4/bin/rt-crontool \
--search RT::Search::FromSQL \
--search-arg 'Type = "reminder" and (Status = "open" or Status = "new")' \
--condition RT::Condition::BeforeDue \
--condition-arg 2d \
--action RT::Action::SendEmail \
--action-arg Owner \
--transaction first \
--template 'Reminder due soon'
#
Med Vänliga Hälsningar/Best Regards
--------------------------------------------------------
Martin Petersson
M: Office +46 (0)522 98028
: Direct +46 (0)73 84 00 450
r: Fax +46 (0)70 25 79 453
F: www.uanet.se
Gustaf Mattssons Väg 2
451 50 Uddevalla
Orgnr: 556702-4095
Styrelsens säte: Uddevalla
Please consider the environment before printing this e-mail.
-----Ursprungligt meddelande-----
Från: Thomas Sibley [mailto:trs at bestpractical.com]
Skickat: den 8 mars 2012 16:59
Till: rt-users at lists.bestpractical.com
Kopia: Martin Petersson
Ämne: Re: [rt-users] VB: reminders?
On 03/08/2012 10:29 AM, Martin Petersson wrote:
> Does anyone know, please?
I answered your question yesterday:
http://lists.bestpractical.com/pipermail/rt-users/2012-March/075478.html
Please read the mailing list if you're posting to it. Replies stay on the mailing list so that future readers and searchers can find common answers later. If all replies went to individuals then the community would need to do a lot more work answering repeat questions.
Thomas
More information about the rt-users
mailing list