Re: cron job not working

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



--- On Wed, 9/17/08, Al Sparks <data345@xxxxxxxxx> wrote:

> From: Al Sparks <data345@xxxxxxxxx>
> Subject: Re:  cron job not working
> To: "CentOS mailing list" <centos@xxxxxxxxxx>
> Date: Wednesday, September 17, 2008, 9:26 AM
> > Probably a permissions problem, as has been noted. What
> I can't
> > understand is how the problem came to be so
> complicated. This,
> > run as a root cron job, will produce the desired
> directory:
> > 
> > #!/bin/bash
> > mkdir -p /ora-local/db-test-backups/`date
> +%Y"_"%m"_"%d`
> > 
> > ...without the adjustments in the perl script.  AAMOF,
> it's even
> > simpler if you can tolerate hyphen separators rather
> than
> > underscores. (date +%F)
> 
> I'll give that a shot.  Note that I have not been
> running this as root
> (though crond is running as root).
> 
> Most of the time, if it's a permissions problem, crond
> will send an
> email telling me it's a permissions problem.
>     === Al

It was a file permission problem.  But crond wasn't telling me.
Thanks for the help.
   === Al
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux