Re: cron jobs not running

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



On 07/30/2011 10:07 PM, Tim Dunphy wrote:
> hello list!!
>
> I'm attempting to find out why this cron job isn't running. the host is centos 5.6 on i386 just so you know.
>
>
> 0       3       *       *       *       /bin/alldb>  /home/bluethundr/backupdb/alldb-$(date +%Y%m%d%H%S).sql

> However I do see the job is running in the cron logs
>
>
> [root@VIRTCENT09:/home/bluethundr/backupdb] #tail /var/log/cron
> Jul 30 22:59:01 VIRTCENT09 crond[8007]: (root) CMD (/bin/alldb>  /home/bluethundr/backupdb/alldb-$(date +)

 From `man 5 crontab`:

     The entire command portion of the line, up to a newline or %
     character, will be executed by /bin/sh or by the shell specified
     in the SHELL vari- able of the cronfile.  Percent-signs (%) in
     the command, unless escaped with backslash (\), will be changed
     into newline characters, and all data after the first % will be
     sent to the command as standard input.

-- 
Bob Nichols     "NOSPAM" is really part of my email address.
                 Do NOT delete it.

_______________________________________________
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