On Thu, 2003-08-28 at 05:31, Marc Adler wrote: > * Juan Martinez <[EMAIL PROTECTED]> [2003-08-27 22:51]: > > On Thu, 2003-08-28 at 04:28, Marc Adler wrote: > > > > This is no different than * * * * * (I.E. it will run every minute). To > > make it run every hour you must pick a time of the hour when you want it > > to run (E.G. at half past the hour). The corresponding time fields for > > the crontab line would be: 30 * * * * > > I can see that now! It has been running every minute, and filling my > mailbox with notices! How do I get rid of the notification function? > > MAILTO= didn't work.
Redirect the output to /dev/null Cron uses /bin/sh as its shell so your redirection would look like this "fetchmail >&/dev/null" That redirects stdout as well as stderr to /dev/null. Read the man page for bash and look for REDIRECTION for an explanation. Juan > > > Also, do I need to write out "/usr/bin/fetchmail" or will a simple > > > "fetchmail" do? > > > > "fetchmail" will do. > > > > Ok. > > > > > > > And a final question: this should be done by using crontab -e to create > > > the var/spool/cron/marc file, right? > > > > That's right using "crontab -e" will let you edit the crontab. It will > > update timestamps on the crontab directory so cron will notice that > > there have been changes made and reread any changed crontabs. If you > > didn't use "crontab -e" you would have to restart the daemon after > > editing for the new changes to be picked up. > > > > Good. That's how I did it. > > Thanks a lot! > > -- > Marc Adler -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list