Travis Crump wrote:
Russell Shaw wrote:3 * * * * would be once an *hour* at three minutes past the hour. Five stars is every minute.Hi, I set this with crontab -e :3 * * * * /usr/bin/mailfilter ; /bin/echo "Mailfiltering" | /usr/bin/mail -s mai1 * * * * /bin/echo "Date is `date`." | /usr/bin/mail -s cron root ### I should get mail every minute, but it doesn't work. If i try: /bin/echo "Date is `date`." | /usr/bin/mail -s cron root in the shell, then i do get mail.
Aha, man 5 crontab : # every 5 minutes: */5 * * * * /bin/echo "Date is `date`." | /usr/bin/mail -s cron root ###