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

Re: cron.daily isn't



On Thu, Mar 02, 2000 at 10:25:42PM +1100, Damon Muller wrote:
> 
> I also have a problem on a slink system with a (at least one) cron.daily
> job not running. It's a logcheck script, and runs fine when strated from
> a shell prompt. There is no evidence anywhere what is going on - nothing
> in the logs and nothing being mailed to me. All the paths and everything
> are set in the script correctly, and I can't for the life of me work out
> what the problem is.
> 
> I even tried adding `touch /var/tmp/blah' at the start of the file
> (right after #!/bin/sh', but there is still no evidence it's running.

Have you made sure the name fits the requirements of run-parts? man
run-parts for the info. In particular, dots in the filename aren't
allowed. You can test if run-parts will run it with "run-parts --test
/etc/cron.daily"


-- 
  finger for GPG public key.

Attachment: pgps9m1kpALF5.pgp
Description: PGP signature


Reply to: