Hi everyone....I am a bit of a newbie when it comes to Linux (REHL) and I am trying to add this RT command as a cron job via crontab. I am logged in as root and when I run this manually: /opt/rt3/bin/rt list -i "Status = 'in-review' AND Resolved < '2 days ago'" | /opt/rt3/bin/rt edit - set status=resolved it works great. When I add it to crontab it doesn't run and here is result of... crontab -l 01 00 * * * /opt/rt3/bin/rt list -i "Status = 'in-review' AND Resolved < '2 days ago'" | /opt/rt3/bin/rt edit - set status=resolved /var/log/cron
Jun 5 10:01:01 dcrt crond[8839]: (root) CMD (/opt/rt3/bin/rt list -i "Status = 'in-review' AND Resolved < '2 days ago'" | /opt/rt3/bin/rt edit - set status = 'resolved'^M) Everything appears correct....though I am not sure what the ^M indicates at the end of the cron command in the log file. any thoughts? -Stark
_______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
