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

Re: Crintab Problem



Phantazm wrote:
> This is insane.
> 
> I cant get user crontabs to work.

You know it must be something very simple.

> cron is running
> crontab -l gives correct output.
> EVERYTHING looks fine. I've must have missed something.

Check /var/log/syslog and look for entries that look like this:

  Aug 15 07:17:01 dementia /USR/SBIN/CRON[15925]: (root) CMD (run-parts --report /etc/cron.hourly)

> Just installed 3 debian boxes just running heartbeat and failover for 
> apache/bind9/dhcpd/mysql 4.1 and some other services and on none of the 
> machines crontab is working :(

How do you know the crontabs are not working?  What have you tried?

Start with something simple.  Write a little script that does nothing
but the following:

  #!/bin/sh
  date -R > /tmp/hello.out

Call that from cron.  Verify that it is writing to the file or that it
is not writing to the file.  What does the /var/log/syslog say in this
case?

> Wierd.
> 
> If you help me i buy you an icecream :)

Better yet, you help someone else solve another problem in the future.
You can't really pay these things back.  You can only pay them
forward.  :-)

Bob

Attachment: signature.asc
Description: Digital signature


Reply to: