I understand where the first line for contab goes, but where do you place
the rest.
so where do you put the line --search RT::Search::FromSQL \ and everything
after?
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’
I understand where the first line for contab goes, but where do you
place the rest.
so where do you put the line --search RT::Search::FromSQL \ and
everything after?
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'
The ''s specify line continuation - either make it all one long line,
or do it exactly as above - no spaces after the ''s. Cron knows to
connect the lines together if they end in ''.
Jeff