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
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
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
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
4 matches
Mail list logo