
jeff at voskamp
Jun 5, 2012, 7:40 AM
Post #2 of 2
(301 views)
Permalink
|
On 06/05/2012 10:20 AM, Ajunpreet Singh wrote: > 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 -------- List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
|