Re: [CentOS] cron job not working

2008-09-18 Thread Al Sparks
--- On Wed, 9/17/08, Al Sparks <[EMAIL PROTECTED]> wrote: > From: Al Sparks <[EMAIL PROTECTED]> > Subject: Re: [CentOS] cron job not working > To: "CentOS mailing list" > Date: Wednesday, September 17, 2008, 9:26 AM > > Probably a permissions pr

Re: [CentOS] cron job not working

2008-09-17 Thread Al Sparks
> 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 adjustment

Re: [CentOS] cron job not working

2008-09-17 Thread Al Sparks
: bruce <[EMAIL PROTECTED]> To: CentOS mailing list Sent: Tuesday, September 16, 2008 4:25:23 PM Subject: RE: [CentOS] cron job not working hey al... what are the privs that the cron is being run as. the cron should be root. what are the acls for the dir that you're writing to?? it&#

Re: [CentOS] cron job not working

2008-09-16 Thread Robert
Al Sparks wrote: Here's a perl script that works when I run it manually. But when I run it via cron, it won't create the directory. But worse than that, an email isn't sent to the account running the job. So I'm not getting an error, but it does work when I run it manually. If I put an obvi

RE: [CentOS] cron job not working

2008-09-16 Thread bruce
hey al... what are the privs that the cron is being run as. the cron should be root. what are the acls for the dir that you're writing to?? it's probably a simple priv/acl issue -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Al Sparks Sent: Tuesday,