[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Writing CRON job to null.



> >When running fetchmail from CRON, how can I write the output to /dev/null to
> >save the CRON job spamming me with mail.
> >
> >I have tried adding > /dev/null to the end of the cron line, all to no
> >avail.
> 
> Try
> 
> 	command >/dev/null 2>&1
> 
What does the "2" and "1" stand for, and the "&" ?
One is standard output, right?

--
  And I know that there  are people in this
  world who do not love their fellow human
  beings and I hate people like that.
Contact me? Try pow@big.du.se : sy96pow@blg.du.se or
visit http://www.big.du.se/~pow/contact_page.html


Reply to: