[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1161
  • Last Modified:

Stop/uninstall Cron Daemon Sendmail email

Mac OSX with 2 users.  I get this email every hour,  I cannot find the location of cron.hourly and the Activity Program does not list this Cron daemon.

      From:       Cron Daemon <root@localhost.localdomain>
      Subject:       Cron <root@localhost> run-parts /etc/cron.hourly
      Date:       November 16, 2010 10:23:02 AM EST
      To:       root@localhost.localdomain

/etc/cron.hourly/sendmail:

sendmail: illegal option -- q
sendmail: usage: sendmail [ -t ] [ -fsender ] [ -Fname ] [ -bp ] [ -bs ] [ arg ... ]

Any suggestions on how to stop this.
Thanks
0
SamSystems1
Asked:
SamSystems1
  • 5
  • 3
  • 2
1 Solution
 
woolnoirCommented:
look at /etc/crontab it should list the locations of the daily, hourly cron files, check each of these for the command.
0
 
SamSystems1Author Commented:
I used terminal and checked user /etc and root(bash3.2#) /etc and there is not a directory crontab or cron.  

Thanks for responding
0
 
woolnoirCommented:
as root do a crontab -l and check the output.
0
Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

 
nxnwCommented:
did you look for crontabs in  /usr/lib/cron/tabs/?

What OS?
0
 
SamSystems1Author Commented:
I am using OSX 10.6.5

No Crontab file or directory, however I did locate the cron directory in the /usr/lib directory.  This is what is inside:

bash-3.2# ls -l
total 0
-rw-r--r--  1 root    wheel   0 Aug 17 17:59 at.deny
-rw-r--r--  1 root    wheel   0 May 18  2009 cron.deny
drwxr-xr-x  2 daemon  wheel  68 Feb 10  2010 jobs
drwxr-xr-x  2 daemon  wheel  68 Feb 11  2010 spool
drwx------  2 root    wheel  68 May 18  2009 tabs
drwx------  2 root    wheel  68 May 18  2009 tmp

Nothing that matches the daemon that is running.
0
 
nxnwCommented:
What is in the tabs file?
0
 
nxnwCommented:
Folder, I mean
0
 
SamSystems1Author Commented:
Nothing.  I must tell you that I am really over my head here (not knowledgable) about this OS.  The tabs directory is empty.

This message appears every hour - can I disable receiving it?


Thanks,
0
 
SamSystems1Author Commented:
Discovered that the email originated from my domain host's server, not my Mac.  Found and deleted sendmail script.

Closing question.
0
 
SamSystems1Author Commented:
Question did not involve issue with local Mac, but issue with internet host service.
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

  • 5
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now