Re: [CentOS] Crontabs

2009-06-10 Thread Ian Blackwell
James Bensley wrote: > The crontabs are like the following example; > > 30 20 * * * sh /home/a_user/nightlyscrips/nightly_script_1 > > /home/a_user/nightlyscripts/`date +%d-%m-%Y--%H-%M-%S`.log > > I'm a big fan of keeping the contents of crontab very simple. The only thing I like to see in cro

Re: [CentOS] Crontabs

2009-06-10 Thread James Bensley
Paul, I think its fair to say, "Yo Da Man!". I saw the note at the end of the crontab man pages when trying to find and answer yet for some reason didn't look at crontab (5) man page, what a fool I have been. This has totally resolved the issue, thanks very much...for pointing out im a fool ;) R

Re: [CentOS] Crontabs

2009-06-10 Thread Kai Schaetzl
James Bensley wrote on Wed, 10 Jun 2009 09:08:52 +0100: > 30 20 * * * sh /home/a_user/nightlyscrips/nightly_script_1 > > /home/a_user/nightlyscripts/`date +%d-%m-%Y--%H-%M-%S`.log change the ">" to "&>" to get all output. Furthermore, there might be a problem to run date in this environment. The

Re: [CentOS] Crontabs

2009-06-10 Thread Paul Bijnens
On 2009-06-10 10:08, James Bensley wrote: > Hey list, > > I have several crontabs set up to run at night and I'm not convinced > they are running but of course, I'm not here to see for sure! > The crontabs are like the following example; > > 30 20 * * * sh /home/a_user/nightlyscrips/nightly_scrip