Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cron <root@mycomputer> run-parts /etc/cron.hourly 1

Status
Not open for further replies.

Trekkie

Technical User
Apr 29, 2000
150
CA
Hi,

I got Qmail installed with vpopmail & sqwebmail. However, I'm getting this email every hour. I don't know what I did??? What do I need to do to stop the email myself...it's driving me crazy!

message:

"/etc/cron.hourly/cleancache:

This account is currently not available."

I appreciate any advice :)
 
take a look in
/etc/cron.hourly/cleancache
this script is runnig at every hour.

what you can do:
#1 remove this script (not recomanded)
#2 pipe the script output to /dev/null
#3 move the script to /etc/cron.daily , you will receive the message one per day.

I'll choose the #3.

PM
 
Actually, another option would be to include the following line in your crontab:

Code:
MAILTO=""

This modifies the cron environment such that it doesn't send any mail regarding *ANY* cron jobs for that user. (So this wouldn't be the option you're looking for if you want any feedback if your jobs fail.)

You can list the contents of your crontab by typing:

Code:
crontab -l

And to actually edit the crontab, use:

Code:
crontab -e

I would be sure to check root's crontab, too.

The man pages for crontab(5) describe this process in more detail. cron has probably always sent these messages, but since you just installed your mail server, they are just now coming to you.

JM
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top